Multiple Users/webapp-sessions (Say 100) simultaneously uses the chat-bot implemented with RASA-Stack
How can i manage the user-session in RASA ? will RASA creates a new session for each request ?
Do I need to manage user session in my application level ? If RASA handles user session, is there any limit of user session handling ?
No Rasa Core should handle this out of the box, you should use a different tracker store than the in memory one though, e.g. the MongoTrackerStore or the RedisTrackerStore
@souvikg10 I have also same doubt. I am using events_after_latest_restart() function to fetch the conversation. But i wanna know how to pass my own conversation id to a user and then save it in mongotrackerstore accordingly.
Hi, I am new to Rasa. Could you point me to any resource that helps understand how to set up Rasa for multiple user.
My bot only replies to my default Slack Workspace and not in any other workspace where is has been installed.
Hi, Rasa already manage user sessions, each session is identified by a conversation_id.
When you send a user message to rasa webhook (telegram, facebook, socket.io, etc …) you will also indicate a sender_id in the message.
In the webhook code, the sender_id is sent as a conversation_id to Rasa Core.
If you don’t store conversations on a db (MongoTrackerStore , RedisTrackerStore, …) and everything remains in memory, of course sessions will be lost when
stop Rasa process.
If you want to create a new user session, or read a session_id from a database, you have to modify the webhook code and pass the right conversation_id.
Hi. I’m new to rasa. 2 months into it. I want to manage user sessions from the position where they left off previously. I need to build a workflow based on previous N inputs from the client.