4.1. State Referencing
Start State
transitions = {
'state': 'start',
'`What can I do for you?`': {
'[{time, clock}]': {
'`It\'s 3PM.`': 'end'
},
'[{weather, forecast}]': {
'`It\'s sunny outside`': 'end'
},
'[play, raining tacos]': {
'`It\'s raining tacos. From out of the sky ...`': 'end'
},
'error': {
'`Sorry, I didn\'t understand you.`': 'start'
}
}
}Custom States
Exit State
Last updated
Was this helpful?