Trigger an action if no reply detected

Hello,

I’m working on a dialogue system using Snips and Respeaker. I want to achieve the following:

User: lights on!
Snipes: all lights or only the ones in the kitchen?
User: [no reply]
Snips: [it turns all lights on]

If there is no reply from the user, Snips should trigger an specific action. I haven’t figured out how to do this. I thought I could do it using sendIntentNotRecognized but I cannot make it work, so maybe my assumption is wrong. I would appreciate if someone could give me a hint so I can keep working on this.

Thank you in advance.

C.

https://docs.snips.ai/reference/dialogue#session-ended

termination Object - Structured description of why the session has been ended. See below.

most likely the timeout will occur

if you run snips-watch -vvv you can follow the sequence of what happens and see for yourself which object type happens and when

1 Like

Thank you for your answer. I already know that I get a timeout if there’s no input from the user. My question then would be:
How to trigger an action in case there’s no immediate reply from the user and at the same time avoid a timeout session?

read that link i gave… it lists all the triggers to use… continue session, start session