DialogFlow隐式调用 [英] DialogFlow Implicit Invocation

查看:67
本文介绍了DialogFlow隐式调用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望获得有关如何使用Dialog Flow来缩短从动作获取信息的过程的指导.

I was hoping to get guidance into how I may use Dialog Flow to shorten the process of getting information from an action.

例如,我想提供以下命令:

For example, I would like to provide the following command:

好吧Google,请问我的测试应用程序是美国的首都."

"Ok Google, Ask my test app what is the capital city of the US."

但是,我目前需要说:

好吧,谷歌,打开我的测试应用程序"

"Ok, Google, open my test app"

然后,我需要等待响应,然后再提供我需要首都的国家名称.

I would then need to wait for a response before providing the name of the country that I need the capital city for.

我发现Google文档中的指南很难遵循.

I'm finding the guidance from the Google documentation difficult to follow.

我是否需要创建一个隐式调用才能通过启动命令提供参数?

Do I need to create an implicit invocation in order to give the parameter with the launch command?

推荐答案

是的,如果要从启动命令中触发意图,则必须将这些意图添加为深层链接/隐式调用,这是您唯一要做的事情必须要做的是创建一个可以处理参数的意图,然后将其添加到Dialogflow中"Google集成"部分下的隐式意图中.

Yes, if you want to trigger intents from the launch commands you have to add those intents as a deep link / implicit invocation, to do this the only thing you have to do is create an intent which can handle the parameter and then add it to the implicit intents under the actions on google integration section in Dialogflow.

您不必专门为隐式调用创建任何意图,只需将您已经创建的意图用于普通对话即可.

You don't have to create any intent specially for implicit invocation, you can just use the ones you have already created for normal conversations.

我已经为隐式调用/深层链接编写了指南Google助理,如果您需要更多帮助或信息.这是一个视频,其最终结果是

I've written an guide to implicit invocations / deep links for Google Assistant if you need more help or infomation. Here is a video with the end result

这篇关于DialogFlow隐式调用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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