Agent not working due to memory
At the top of the Voiceflow chat widget, there is the default “New Chat” button. When I click it, a new chat starts, but the chatbot still remembers information from the previous conversation.
The chatbot only starts completely blank if I refresh the entire page.
How can I make sure that when the default “New Chat” button is clicked, the chatbot resets its memory/session and starts fully blank, without needing to refresh the page?
5 Replies
I can definitely confirm this behavior. I have often experienced the chatbot remembering information from past conversations or simply using it.
This happens regularly when I test many chats in short timeframe.
Variables persist in production so this will happen. Make sure to empty relevant variables at the beginning of your workflow.
wow i did not know that - thank you for mentioning this! is setting default values in the variables panel sufficient (for emptying them out)?
i think you can make sure all your variables have no value, by simply letting them be = Null at the beginning of your starting workflow --> so: Start --> last_utterance = Null ... and so on.
yes that is certainly one approach! i'm going to enter default values in the variable panel and hope that works since i think that will be faster ☺️