简体   繁体   English

既然会话操作将被删除,如何开发适用于智能设备(Google nest 设备)的 Google Voice 应用程序?

[英]How to develop a Google Voice app that works with smart devices (Google nest devices) now that Conversational actions will be removed?

I am currently developing an updated version of a voice app that it was previously developed with Google Actions console as a conversational app.我目前正在开发一个语音应用程序的更新版本,它以前是作为对话应用程序使用Google Actions 控制台开发的。 However, when started to create a new project for this updated app, a banner says that Conversational apps will be sunsetted on June 13th.然而,当开始为这个更新的应用程序创建一个新项目时,一条横幅显示会话应用程序将于 6 月 13 日停用。

Reading through the documentation, it is not clear to me how to develop now that this options will not be available in the future.阅读文档后,我不清楚如何开发,因为这些选项将来不可用。 Among the options, App Actions and Dialogflow CX might be the route for development.在选项中, App ActionsDialogflow CX可能是开发路线。 However, my app to be developed reqquires integration with smart devices such as Google nest Hub and Google nest mini for interaction.但是,我要开发的应用程序需要与Google nest Hub和Google nest mini等智能设备集成才能进行交互。

It seems that App Actions might not be the solution because it adds voice capabilities to an existing Android App, which I am not sure that will work with Smart devices directly. App Actions 似乎不是解决方案,因为它为现有的 Android 应用程序添加了语音功能,我不确定它是否可以直接与智能设备一起使用。

On the other hand, dialogflow CX looks to be focused on chatbox, ie based on text.另一方面,dialogflow CX 看起来专注于聊天框,即基于文本。 Again, I am not sure if using Dialogflow CX will be able to provide an appp that uses voice interactions in smart devices.同样,我不确定使用 Dialogflow CX 是否能够提供在智能设备中使用语音交互的应用程序。

In addition to these options, I also read about Dialogflow ES, Cloud-to-Cloud for smart for Google Home , Content Actions , and Media Actions .除了这些选项之外,我还阅读了 Dialogflow ES、 Cloud-to-Cloud for smart for Google HomeContent ActionsMedia Actions It does not look like either of these solutions might be a replacement to Google Actions.看起来这些解决方案中的任何一个都不能替代 Google Actions。 For example, I think smart home is not the option because I am not looking to interact with home devices besides google nest hub.例如,我认为智能家居不是一个选项,因为除了 google nest hub 之外,我不希望与家庭设备进行交互。

I hope anybody can help and help me understand development path or lead me to information that I might be missing.我希望任何人都可以帮助并帮助我了解发展路径或引导我获得我可能缺少的信息。 Thank you谢谢

It sounds like you are looking to create a new version of a conversational app that was previously developed using the Google Actions console, but are now facing the sunset of the conversational apps feature on June 13th.听起来您正在寻求创建一个新版本的对话应用程序,该应用程序以前是使用 Google Actions 控制台开发的,但现在对话应用程序功能将于 6 月 13 日停止。

One option that you may want to consider is Dialogflow CX, which is a platform for building and managing natural language conversational experiences.您可能要考虑的一个选项是 Dialogflow CX,它是一个用于构建和管理自然语言对话体验的平台。 Dialogflow CX is built on top of Dialogflow ES, and is designed for more complex and large-scale conversational apps. Dialogflow CX 建立在 Dialogflow ES 之上,专为更复杂、更大规模的对话应用而设计。 It allows you to create a conversation flow using a visual editor, and supports integration with various platforms including Google Assistant, Alexa, and WhatsApp.它允许您使用可视化编辑器创建对话流,并支持与各种平台集成,包括 Google Assistant、Alexa 和 WhatsApp。

Regarding the integration with smart devices like Google Nest Hub and Google Nest Mini, you can use the Google Assistant Actions API to build custom actions that can be invoked by users through the Google Assistant on these devices.关于与 Google Nest Hub 和 Google Nest Mini 等智能设备的集成,您可以使用 Google Assistant Actions API 构建用户可以通过这些设备上的 Google Assistant 调用的自定义操作。 This API allows you to define a conversation flow and handle user inputs, and it can be integrated with Dialogflow CX to handle natural language understanding and generation.这个 API 允许您定义对话流并处理用户输入,它可以与 Dialogflow CX 集成以处理自然语言理解和生成。

App Actions, on the other hand, are a way to surface your app's functionality through the Google Assistant on Android devices, and it's not a replacement for Google Actions.另一方面,App Actions 是一种通过 Google 智能助理在 Android 设备上展示应用程序功能的方式,它不能替代 Google Actions。

Cloud-to-Cloud for smart home, Content Actions, and Media Actions are more specific solutions for different use cases, for example, providing actions for smart home devices, providing actions for media content and etc. Cloud-to-Cloud for smart home、Content Actions 和 Media Actions 是针对不同用例的更具体的解决方案,例如,为智能家居设备提供操作,为媒体内容提供操作等。

In summary, Dialogflow CX along with the Google Assistant Actions API seems to be the most relevant solution for your use case.总之,Dialogflow CX 以及 Google Assistant Actions API 似乎是与您的用例最相关的解决方案。 It allows you to build natural language conversational experiences that can be integrated with smart devices like Google Nest Hub and Google Nest Mini.它允许您构建可与 Google Nest Hub 和 Google Nest Mini 等智能设备集成的自然语言对话体验。 It's worth checking the official documentation and tutorials for more information about Dialogflow CX, the Google Assistant Actions API, and how to integrate them.值得查看官方文档和教程以获取有关 Dialogflow CX、Google Assistant Actions API 以及如何集成它们的更多信息。 Also, you may want to reach out to Google support team for more specific guidance for your case.此外,您可能需要联系 Google 支持团队以获得针对您的案例的更具体指导。

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

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