I’m currently preparing the first iteration of CDD, where the chatbot is exposed to test users via the share link from Rasa X. While this might be uncommon in real frontends, in this scenario it is very likely that people are going to restart the conversation a few times to try different things. Now what happens in the Rasa X conversations tab is, that all of those attempts are stored in a single conversation.
That is not what I want for several reasons, mainly that the tagging would not make a lot of sense anymore, e.g. I tag the feedback a user gives the bot in the end (1-5 stars). If all the conversation attempts are stored in a single conversation in Rasa X, there is no way to properly evaluate that.
My first attempt to solving that was to override the /restart mapping to action_session_start, but unfortunately that did not make a difference. Is there any other way to start a new conversation (not just reset history and slots, but real new conversation id), maybe with a custom action?
Hi @Vale_Boca. I think the easiest way would be to clear local storage in the browser. This will result in a new conversation. You could also have them initiate different browser sessions (e.g. private mode or switching browsers)
I will definitely not let my test users go in incognito or switch browsers all the time.
Is there really no way to do that from a custom action?
If anyone else encounters this problem:
I think my workaround will be to override the action_reset to not only reset the conversation, but also all slots. Then the conversations will still be merged in Rasa X, so I will have to find another way to analyze the results, e.g. exporting them and splitting them on the action_restart event.
Then still tags will be useless, but since the whole conversation is in the events, it will be possible to restore.
@Vale_Boca The conversation id determines the conversation, which for share your bot is determined by the browser. The easiest way in my opinion would be to instruct test users to open devtools in their browser and click the Clear site data button in between conversations.
I don’t think you could do it with a custom action. Maybe you could try changing the conversation id?
Just wanted to let you know, that I am facing the same problem. I am conducting a user study and can not expect all users to find that button to clear the cache. I would really prefer them to be able to have three separate conversations. I will let you know in case I find a solution.
@Vale_Boca@Taufred I don’t think test users should be bothered with having to send a restart message either. Maybe we could have the restart button in share your bot start a new conversation id instead of just restarting the conversation. What do you two think of that?
@Taufred It would be something that the Rasa team has to implement in Rasa X. Do you see any instances where you would want a test user to restart a conversation but not start a conversation with a new id?
T.b.h. I do not. I think that is only really relevant for interactive learning, which is not done by test users. But to be safe, wouldn’t it be possible to implement two separate buttons, one reloading with a new conversation id (“Start a new conversation”) and one restarting the conversation (“Restart this conversation”)?
@tyd@Taufred Thats what I was aiming for with the custom action, since the restart button just sends ‘/restart’. Anyway it kinda makes sense, that this has to be done client-side. So in the end this would be a feature request for Rasa X. Could you create the issue?
are there any news on this. I would like to share the bot with clients and the lack of a possibility to reset and clear the conversation makes it unuseable.