JustinaPetr / Weatherbot_Tutorial

276 stars 447 forks source link

how can rasa support multi user dialouge management #14

Open manojjjm opened 6 years ago

manojjjm commented 6 years ago

say that i have 3 users u1,u2, u3 each one is talking to bot at the same real time

How rasa is maintaining the live dialogue of all three users individually

manojjjm commented 6 years ago

Can any one help me on this please

amsolu commented 6 years ago

Hi Manojjjm, did you get any answer on this one? if you figure out I would like to get the answer too. Thanks

manojjjm commented 5 years ago

any update on this

JustinaPetr commented 5 years ago

To manage users, Rasa Core recipient_id parameter which keeps track of which user sent a message to a bot. If you are using the latest release code of this weatherbot tutorial than the Slack connector there already takes care of it, you can see the recipient_id being extracted and passed to the Rasa Stack in the implementation code of the connector:https://github.com/RasaHQ/rasa_core/blob/master/rasa_core/channels/slack.py

If you write your own custom connector, you have to make sure that this id gets assigned to each user and passed to the Rasa Core.

Namnt3 commented 5 years ago

Hi @JustinaPetr ,

I'm currently integrating my bot to Facebook connector. Could you tell me how to configure to handle multiple users chat with the bot at the same times?