Redirect user to the Default Welcome Intent when he says “cancel” or “exit”

十年热恋 提交于 2019-12-11 13:31:37

问题


I'm developing a Dialogflow application for Google Assitant. In that, if I say "Cancel" it directly calls the exit_conversation intent where I've specified actions_intent_CANCEL event. So it displays the output specified in that intent and bot exit the conversation.

Instead of exiting the Bot I need to open Default Welcome Intent. Is there any way to do that?

P.S. I'm using Python fulfillment as a backend for this bot.


回答1:


In short - no, you can't do that.

You're essentially asking that, when the user tries to quit, you don't want to let them quit. From Google's and your users' point of view - that is a pretty unacceptable option.

The CANCEL event handler is fairly limited with what it can do - Google will terminate the conversation, even if you don't specify that the microphone should be closed, but you're given the opportunity to say a final message and offer a link to elsewhere.



来源:https://stackoverflow.com/questions/52040808/redirect-user-to-the-default-welcome-intent-when-he-says-cancel-or-exit

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