2.2. State Transition
Create a dialogue flow using state transitions.
Dialogue Flow
transitions = {'state': 'start'}transitions = {
'state': 'start',
'`Hello. How are you?`': {
'good': {
'`Glad to hear that you are doing well :)`': 'end'
}
}
}S: Hello. How are you?
U: Good!
S: Glad to hear that you are doing well :)Branching
Error Handling
Code Snippet
Last updated
Was this helpful?