How long does it take for the app to time out and exit the conversation

半城伤御伤魂 提交于 2019-12-08 13:31:25

问题


How long does it take for the google assistant agent to timeout and end/leave the conversation?

I configured a chat bot with actions-on-google where

  1. The GA would ask user to choose which product to buy from a List.
  2. Then the user locked the phone's screen
  3. After a few minutes, the user reactivates google assistant again
  4. User selects one of the product from the list by scrolling up the history
  5. The transaction proceeds

I expected the app to exit the conversation after a certain duration, which then start a new session.


回答1:


The session stays alive for 10 minutes. So, if you resume conversation within 10 minutes then it will continue in the same session.

As per my testing on Google Assistant and Simulator, if the conversation is paused for more than 10 minutes then the conversation ends and app exits.




回答2:


5 seconds.

Source: Google's documentation

("Your response must occur within about 5 seconds or the Assistant assumes your fulfillment has timed out and ends your conversation.")




回答3:


If there is a 5 second limit to receive the response, is there a limit to how long the response can be? We want to access longer form responses and then (hopefully) process the text response



来源:https://stackoverflow.com/questions/54324632/how-long-does-it-take-for-the-app-to-time-out-and-exit-the-conversation

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