DialogFlow Implicit Invocation

浪尽此生 提交于 2021-02-05 09:28:05

问题


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:

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

However, I currently need to say:

"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.

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?


回答1:


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.

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



来源:https://stackoverflow.com/questions/59118613/dialogflow-implicit-invocation

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!