2.3. Matching Strategy
A taste of matching strategies provided in Emora STDM.
Multiple Matching
transitions = {
'state': 'start',
'`Hello. How are you?`': {
'{good, fantastic}': {
'`Glad to hear that you are doing well :)`': 'end'
},
'{bad, could be better}': {
'`I hope your day gets better soon :(`': 'end'
},
'error': {
'`Sorry, I didn\'t understand you.`': 'end'
}
}
}Partial Matching
Nesting
Sequential Matching
Code Snippet
Last updated
Was this helpful?