简体   繁体   English

dialogflow,google动作和webdemo

[英]dialogflow, google action and webdemo

Can you like with the Test Simulator have an embedded Google Action or use a Live chat style bot on a website with Google Actions responses? 您是否可以在测试模拟器中嵌入Google Action或在具有Google Actions响应的网站上使用实时聊天风格的bot? Are there any code labs or third party platforms that do this? 是否有任何代码实验室或第三方平台可以做到这一点?

Yes, some of the 3rd party chat windows I know of: - Smooch - Kommunicate 是的,我知道一些第三方聊天窗口:-Smooch- Kommunicate

You will have to use the Payload response to send specific components (such as cards, quick replies or images) 您将必须使用有效负载响应来发送特定的组件(例如卡片,快速回复或图像)

There's also this Github repository which allows you to set Google Actions replies and it will display it in chat: https://github.com/mishushakov/dialogflow-web-v2 还有一个Github存储库,可让您设置Google Actions答复,并将其显示在聊天窗口中: https : //github.com/mishushakov/dialogflow-web-v2

Or you can write your own in React or Vue. 或者您可以在React或Vue中编写自己的代码。

Actions on Google is the platform for Google Assistant developers and have own library and components. Google Actions是Google Assistant开发人员的平台,并拥有自己的库和组件。 You can use these features and components only on Google Assistant projects, since every platform has different features and capability. 由于每个平台都有不同的功能,因此您只能在Google Assistant项目中使用这些功能。 If you need to create a chatbot with these kind of features, you should check platform's docs eg. 如果您需要使用这些功能创建聊天机器人,则应检查平台的文档,例如。 Facebook, Telegram... Facebook,电报...

If you want to create a chatbot which has some rich responses, Dialogflow has own attributes such as Card, Suggestion. 如果您要创建一个具有丰富响应的聊天机器人,则Dialogflow具有自己的属性,例如Card,Suggestation。 So, you can build your agent and integrate Dialogflow (not Google Action). 因此,您可以构建代理并集成Dialogflow(而不是Google Action)。

You can check here for platform and Dialogflow's response and payload ability. 您可以在此处检查平台以及Dialogflow的响应和有效负载功能。

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

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