Hello! Im currently working on a bot, and i’d like to know when the conversation has stopped. Detecting an intent for good bye messages is simple enough, but i’d like to ask how to detect if the user has not replied during a certain time-frame. That is, if it has not replied in 5 minutes, the bot can realize the conversation ended.
@redbeans Till the time session is connected, as soon as enduser reply, the bot will initiate the conversation again. For that you need to set the session logout.
Check this for your reference: https://github.com/RasaHQ/rasa/blob/main/examples/reminderbot/actions/actions.py
You can do so using Reminder events that you cancel and reset to trigger in 5 minutes in every custom action (yes, that would mean all your responses would have to be custom actions).