Hello,
I am a new Botpress user and have some issue regarding the last message sent by the user which is stored in the memory. According to Botpress documentation:
https://botpress.com/docs/main/memory
Essentially the webpage states the following:
###### Session Memory
The session store is alive for the duration of the user’s session. How long is that? Well, it depends on the setting of sessionIntervalTimeout in botpress.config.json. )
(Currently this is set to 30 m.)
This is also where we keep the last messages sent by the user. This information is used by the Decision Engine to better understand the user’s will and to avoid repeating meaningless stuff.
-------------------------------------------------------
But, I want these variables also to assume current values obtained from the user but due to this functionality it takes the previous values and it leads to confusion.
Please note that I am not using any webchannel for this purpose but only testing a new bot.
Kindly let me know how to sort this issue.
Stated in a different way I would like to know the following:
Which variables are reset when the “create new session” button is used in the debugger? And how can the same functionality be achieved via Actions in the bot? Essentially. I would prefer to get the same functionality provided by the “create new session” button but using the nodes or implemented as an action.
Another related question:
What is the difference between ResetSession function and the create new session button in the debugger?
Thanks a lot,
Regards,
Vishwa