How to detect no response from user and give a reply?

Hello,

is there a functionality available in RASA open source, where the bot replies with an utterance if no input is received from the user till a certain time interval( say 4 secs).

There are two ways to solve it,

  1. Use custom action where you use timedelta of datetime module to get time difference and send a response if timedelta threshold is more than 4 sec. You need to trigger it using stories or rules.

  2. If you have your own custom frontend, you can do the same inspite of sending to rasa.

2 Likes

Adding to @athenasaurav’s message, you could also use the ReminderScheduled event.

2 Likes

adding to @ChrisRahme you can even see this rasa github repo: https://github.com/RasaHQ/rasa/blob/main/examples/reminderbot/actions/actions.py hope this will give you more idea :slight_smile:

2 Likes