general.yesintent to a bot dialog. We also added the
general.nointent to another bot dialog. Now all we have to do is connect these dialogs to the question above, so the bot knows which question is being answered.
output contextfor the bot dialog containing the question. Open the
Want free dessertdialog and go to the
NLPsection. Create an
output contextthat you will later link to the dialogs containing the
general.nointents are linked correctly to the dialog containing the question. To do so, we have to open each dialog, go to the NLP section, and add the
output contextwe defined earlier as
general.yesintent is recognized, the bot will know which question this answer belongs to checking the
output context. Depending on this context, a user will be directed to either the
Yes place orderbot dialog (when the place_order context is active) or to the
Yes to free dessertbot dialog (if the free_dessert context is active).