Google行动-深层连结 [英] Google action - deep linking

查看:92
本文介绍了Google行动-深层连结的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为Google Assistant实施应用程序。我借助Api.ai工具构建了一个简单的对话应用程序,它运行良好。



现在,当用户通过说一些文本来触发特定意图(在Api.ai中创建)时,我想与我的应用程序(在Android设备中安装了该工具)进行通讯。引导我到正确的地方以实现这一目标。

解决方案

为此,您需要使用



在那里,您将向服务器执行执行所需操作的URL。查看


I am implementing app for google assistant . I build simple conversation app with the help of Api.ai tool and it works fine .

Now i want to communicate to my application(Which is installed in android devices) when user trigger particular intent(Created in Api.ai) by saying some text. Guide me to right place to achieve this.

解决方案

For that, you need to use the fulfillment option of Api.ai. You will need to have a webserver for that, not just an Android app.

You first will need to enable the webhook in the Fulfillment tab:

There, you will put an url to your server that performs the action you want. Check the Actions on Google documentation to see how to respond with the correct format to give an answer to your user in the Google Assistant.

Then, you need to go to the particular intent that should trigger your server and enable the Webhook there too:

这篇关于Google行动-深层连结的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆