event!
The event!
trigger tag declares an event by which the dialog can enter a state.
tip
This is a global tag: transitions by this tag can be made from anywhere in the script.
Value
An event name is specified after the tag. Refer to the Events section to learn more about events supported in Tovie DSL.
How to use
-
Time limit for request processing exceeded:
state: TimeLimit
event!: timeLimit
a: Sorry, something’s broken. Try asking me again. -
Speech not recognized:
state: CatchAll || noContext = true
event!: speechNotRecognized
random:
a: Sorry, I couldn’t hear you.
a: May I ask you to repeat that?
a: Could you repeat that, please?
a: I’m sorry, I couldn’t hear your answer.
a: Would you like to take us up on our offer?