How does rasa handles session

If I have two concurrent sessions of chat is going from different users. Both the users have the same intent and have filled slots with different values for the same intent. How does rasa figure out these different sessions and responds to these different users?

Hello @tanmay.sinha,

If iā€™m not mistaking, Rasa use sender_id to discriminate the users. So a simple POST request to a Rasa bot normally has a body like this:

{
    sender_id: 'user_id'
    text: 'user_message'
}

With different sender_id, Rasa handles different conversations.

1 Like