Returning to the previous conversation

That’s a very stupid question, sorry for that.

But:

How exactly Rasa keeps track on conversation state? Let’s assume that there is the following dialog structure:

  1. Ask user about the name;
  2. If name entity is obtained, ask about his address;
  3. If address is obtained, say goodbye.

If user provides a name, and the connection is lost, is there any way for him to return to that exact point in the conversation flow where he left? I guess, API with the response should provide a unique channel id or something, but I haven’t found anything like that in documentation.

Hi @chapkovski,

How exactly Rasa keeps track on conversation state?

Rasa uses a Dialogue State Tracker which it puts in a TrackerStore.

If user provides a name, and the connection is lost, is there any way for him to return to that exact point in the conversation

When a user connects to rasa, they would typically have a sender_id which does not change from one session to the next (sender_id’s are channel specific but that’s a different topic). The tracker store has kept the sender_id so the prior conversation can still be recalled.

Related to this, you can use the session configuration settings to control session expiration and whether slots are carried over between sessions.

You can read about channels here.