问题
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
- The GA would ask user to choose which product to buy from a List.
- Then the user locked the phone's screen
- After a few minutes, the user reactivates google assistant again
- User selects one of the product from the list by scrolling up the history
- 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