I am building a client script where multiple clients go through the same socket connection. A user sends a message and using the user id as session_id, I am sending the message to RASA to process.
A lot of users are going to be using this so there is a possibility that some users may be communicating with RASA through this script at the same time. The message is identified properly and matched to the right user and then sent and RASA properly identifies the conversation flow and sends a response back.
Now the problem is that when RASA sends back a message all I get is {‘text’: ‘(response to message)’}. Since a lot of users a texting at the same time due to some background process happening in the script it is hard for me to identify which user the response belongs to. Is there anyway for RASA to send back the session_id along with ‘text’ in the response so I can correctly identify which user the response has to go back to?