How does rasa server distinguish mutiple user clients?

rasa-core
(Zixiang Pei) #1

It confused me, when I build a rasa server recviving from a client and use “handle_message” to handle the message from client. But how does rasa server distinguish mutiple user clients?

(Venkatesh Rathod) #2

Are you passing the parameter “sender_id” from client-side?

2 Likes
(chen) #4

can you tell me How to pass in sender_id :笑脸:thanks

(Johannes Le Roux) #5

like this …

{
  "sender": "chen",
  "message": "hello!"
}
(chen) #6

Sorry, I didn’t understand it. My problem is that there are multiple people who visit my rasa and I need to pass in sender_id.How can I pass in sender_id for my bot.py run()。thanks