Hello, I’m currently using the rest webhook to talk to my bot in rasa by sending a POST request like this:
{
"sender":"sender1",
"message": "hello"
}
However, I also want to be able to track the conversation ID. For example, if I start talking to the bot I want sender1-conversation1 but next time I want to have sender1-conversation2 (same sender but it’s a new conversation)
just use /restart to start a new conversation but keep in mind the previous conversation will end and a new conversation will start.
you have to send the following request to achieve this
{ "sender":"sender1", "message": "/restart" } remember to use mapping policy in config.yml file
sorry for late reply. conversation ID and sender ID are the same
you can have only one conversation at a time for one seder ID. If you want to have multiple parallel conversations for the same sender ID you can add some random number to the sender ID like senderID+1. or you could just use /restart if you don’t need parallel conversations.