Let say I want to code a dialog along the following lines :
- do you want to try an exercise ? > ok - do you want to try random example ? > yes - Ex: here goes : x = 5; print x + 7, Q: what do you expect the result to be ? > 12 - Correct :) .. do you want to try another one? > yes - Ex: .....
The problem is that the dialog is lead by the bot i.e. it is :
action => intent
rather than :
intent => action
how do you handle those ?