I am building a voicebot with Automatic speech recognition as the frontend and rasa nlu working as the bot. I want to handle situations such as -
- silence: Silence
steps:
- intent: silence
- action: utter_silence
- intent: silence
- action: utter_silence
- intent: silence
- action: utter_bye_silence
for this whenever a silence for 4 seconds is detected by ASR, it send ‘silence’ keyword to Rasa. Now rasa should reply with " Sorry. Can you please repeat" for the two consecutive silence and then the third consecutive silence should give a reply " ok i will call you later ".
Problem - incorporating this in story is not helping. Silence can occur anywhere in the conversation. Please suggest a solution for this.