wit.ai - unrecognised user entries

自闭症网瘾萝莉.ら 提交于 2019-12-06 07:19:56

I don't know if it's the best solution but I do the following:

1) Create a story without intent to catch the "no matching stories".

2) The bot answers: "I did not understand you. Would you like to order a pizza?"

3) Yes/No handling https://wit.ai/docs/recipes#handle-yesno-answers

4) If yes, create an action call "jumpToPizzaOrderingStory". On your side, this action "emulates" the fact that the users sent "I want to order a pizza" that will triggered your PizzaOrdering story.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!