How to start conversations for different users via RESTful api simultaneously

I am trying to create RESTful api for my application. In my implementation, I need to make a http call from a web server to rasa server in order to retrieve responses from the bot. I have several questions to ask:

1, In order to distinguish different users, a conversation id is required. How can a http call be make from the web server to get a conversation id at the beginning of the conversation?

2, Is any conversation distinguishable from one another? That is, I can tell which conversation is started by which user according to conversation_id or sender_id?

3, What is the maximum concurrent users for rasa server? What I mean concurrent is the number of sessions/conversation the bot handles at a given period, but not concurrent messages at the same time.

Thanks!

You need to send the ID via REST from your frontend in the format {sender_id, message}.

You can generate a unique ID by using, for example, in JavaScript, the uuidv4() function like in line 19 here.

You decide this.

If you have a login system or any way to identify the same user across different sessions, you can set sender_id to be a username, IP address, localStorage information, …

There’s no exact number, but for a default server installation, it’s in the hundreds. And you can always replicate your pods/containers if you need more of them.