简体   繁体   English

dialogflow打开URL谷歌助手

[英]dialogflow opening URL google assistant

I have searched a lot i couldn't find answer... so any help is really appreciated, I need to make google assistant responses to my request by opening URL automatically. 我已经搜索了很多我找不到答案的东西...所以真的很感谢您,我需要通过自动打开URL来对我的请求进行Google助手回复。

Iam not sure if i could do this using custom payload. 我不确定我是否可以使用自定义有效载荷来做到这一点。

all the examples available are displaying cards or clicking on a buttons or about playing media files... anyone have a clue on if I can do that on dialogflow or do I need my own webhook? 所有可用的示例都是显示卡或单击按钮,或者关于播放媒体文件...任何人都知道我是否可以在dialogflow上做到这一点,或者是否需要自己的网络挂钩? or any alternative way? 或任何其他方式?

 I appreciate your help.

As you mentioned, Dialogflow supports the url redirection, but only when clicking on some button/cards/list selectors. 如前所述,Dialogflow支持url重定向,但仅在单击某些按钮/卡片/列表选择器时才支持。 So You may need to handle this in your web-hook. 因此,您可能需要在网络挂钩中进行处理。

You cannot automatically open a URL mid-conversation. 您无法在会话中自动打开URL。 The user must choose to redirect to a link by clicking a button or some selection as mentioned. 用户必须选择通过单击按钮或如上所述的某些选择来重定向到链接。

If you wish to forcefully display data from a webpage to the user, you can have your back-end fetch the data, and return it in a response in a conversational manner. 如果您希望将网页中的数据强制显示给用户,则可以让后端获取数据,然后以对话方式将其返回。

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

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