[英]Calling Google Assistant from Conversational Webhook
Is there a way to call google assistant from the conversational webhook and return the response?有没有办法从会话 webhook 调用谷歌助手并返回响应? Ie if a user asks "Where's the closest store", can I get the answer from google assistant and return it?
即如果用户问“最近的商店在哪里”,我可以从谷歌助手那里得到答案并返回吗?
There's no capability to programmatically send a request to the Assistant in your Action in the same manner that a user would through the Assistant normally.无法以与用户通常通过助手相同的方式在您的操作中以编程方式向助手发送请求。 To handle specific functionality like finding nearby stores, you would need to handle that on your own such as with the Maps API.
要处理查找附近商店等特定功能,您需要自行处理,例如使用地图 API。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.