Comments (4)
Got it, thanks! 👍
Regarding this topic I see that there's also an open issue on Botkit: howdyai/botkit#694
I've updated the plugin, now we ignore all the messages coming from other bots (technically all the message with a defined bot_id
).
I'll (try to) keep an eye on the issue that I referenced before, maybe there will be a cleaner solution.
Thank you very much for the detailed report!
from botkit-rasa.
Hi!
Can you help me replicate this issue? For which platform are you developing the bot? Slack?
from botkit-rasa.
Sure.
When accomplishing the mini-tutorial, https://rasa-nlu.readthedocs.io/en/latest/tutorial.html
After say 'hello' to the bot (you send this message to rasa through the request/hears functions) the bot reply is 'Hello!!!, tell me how can I help you'. This message is feedback from the slack web to the botkit-rasa handler, with a message like:
message { type: 'message',
user: 'YYYY',
text: 'Hello!!!, tell me how can I help you',
bot_id: 'YYYY',
team: 'YYYY',
channel: 'YYYY',
event_ts: 'YYYY',
ts: 'YYYY' }
If not filtered, this message will be again processed by rasa.
As this message has the bot_id
defined, we can filter it using
if( message.bot_id != null ){
console.log('\t\t[own_debug] bot response, not processing')
next()
return
}
Regards
from botkit-rasa.
Thank you for your work.
from botkit-rasa.
Related Issues (4)
- Compatibility with rasa NLU v0.9x HOT 6
- adding model parameter HOT 2
- adding project parameter HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from botkit-rasa.