简体   繁体   English

Google助理结束对话

[英]Google Assistant ends conversation

We're currently testing our chatbot project for Google Assistant/Google Home. 我们目前正在测试Google Assistant / Google Home的聊天机器人项目。

In the middle of the conversation, when our bot still has "things to say" (our chatbot flows are based on several steps and not just one question and one short answer), Google Assistant throws you out of the chatbot and goes back to the generic Google Assistant. 在对话过程中,当我们的机器人仍然有“要说的话”(我们的聊天机器人流程基于多个步骤,而不仅仅是一个问题和一个简短的答案)时,Google助手会将您带出聊天机器人,然后返回到通用的Google助手。 Does anyone know if this is a feature of the testing version or if this is caused by the way Google Assistant works? 有人知道这是测试版本的功能还是由Google Assistant的工作方式引起的?

Dialogflow履行响应有5秒钟的超时,因此,如果您的聊天机器人花了5秒钟以上的时间进行响应,它将显示Dialogflow中定义的响应

There are 3 things that are most probably causing your app to exit in the middle of the conversation. 有3件事最有可能导致您的应用在对话过程中退出。

  1. You webhook/fulfillment is encountering an error that is not handled. 您的webhook /实现过程遇到未处理的错误。
  2. The response that you are returning is exceeding the max limit of characters that Google supports. 您返回的响应超出了Google支持的字符数上限。
  3. A timeout is happening for your webhook because DialogFlow will wait for 10 seconds for your fulfillment to return a response or else it will end the conversation on its own. 您的Webhook发生超时,因为DialogFlow将等待10秒让您的成就返回响应,否则它将自行结束对话。

Hope this helps. 希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM