4.4. Global Transition
Exercise
Draw a diagram describing the following dialogue flow.
What is the role of
MacroWhatElse
?
Global Transitions
It is often the case that the user says something out of the topic that the system expects. One way of handling such occasions is by using global transitions that anticipate common cases:
#1-8
: creates global transitions.#10
: adds the global transitions to the dialogue flow.
Notice that after prompting an output in the global transitions, it will direct to the good
state defined in the regular transitions.
The global transitions are fired whenever the user content matches their conditions, which can cause multiple matching conditions as follow:
#5
: matches the condition in themovie
state.
Thus, it is recommended to put lower scores on the conditions in global transitions such that local transitions are prioritized over them:
Last updated