简体   繁体   English

从对话框流启动 android 应用程序

[英]Start android app from dialog flow

I'm android developer started with Dialog Flow.我是 android 开发人员,开始使用 Dialog Flow。 I need to run my application in the end of dialog flow conversation.我需要在对话流对话结束时运行我的应用程序。 Currently I have dialog flow and note js script working but I cannot run my android application from the dialog flow or firebase function.目前我有对话流和注释 js 脚本工作,但我无法从对话流或 firebase 函数运行我的 android 应用程序。

What is the simplest way to do it?最简单的方法是什么? Can I run android app strait from js script?我可以从 js 脚本运行 android app strait 吗? Can I use Deeplink for i?我可以为我使用 Deeplink 吗?

Or I need Firebase Cloud Messaging (FCM) ?或者我需要 Firebase 云消息传递 (FCM)? Any other options?还有其他选择吗?

Thanks.谢谢。

目前将两者联系起来的最佳方法可能是使用FCM通知该用户拥有的设备。

Dialog flow is majorly a text-based conversational interface and it's best utilisation in app point of view would be designing Chat bot for your application.对话流主要是一个基于文本的对话界面,从应用程序的角度来看,它的最佳利用是为您的应用程序设计聊天机器人。 For instance, if you are working on Banking app, Chat bot can be implemented as an separate module and with the use of appropriate deep link based upon the questions users asks they can be navigated to the Page/content/reference users are looking for.例如,如果你正在开发银行应用程序,聊天机器人可以作为一个单独的模块来实现,并根据用户提出的问题使用适当的深层链接,他们可以导航到用户正在寻找的页面/内容/参考。 For bot response call it is vital to integrate AIConfiguration in your code with a project specific token code.对于机器人响应调用,将 AIConfiguration 与项目特定的令牌代码集成到您的代码中至关重要。 Also, Dialog flow has an excellent facility where we can input of own questions and answers and train the agent accordingly.此外,Dialog flow 有一个很好的工具,我们可以输入自己的问题和答案,并相应地训练代理。 For example, if user inputs 'What's new in your Banking app?'例如,如果用户输入“您的银行应用程序中有哪些新功能?” we can add this question with it's answer in Dialog flow setup.我们可以在对话流设置中添加这个问题的答案。 Moreover, there are various applications or different usage of this feature like Suggestion chips, Deep link so on.此外,该功能还有多种应用或不同用途,如建议芯片、深度链接等。 Follow the below link for additional information: https://cloud.google.com/dialogflow/docs/quick/setup点击以下链接了解更多信息: https : //cloud.google.com/dialogflow/docs/quick/setup

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

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