简体   繁体   English

使用 Google Smart Home 将命令文本传递给第 3 方实现? (寻求对话行动替代方案)

[英]Pass command text to 3rd party fulfillment with Google Smart Home? (seeking Conversational Action alternative)

I've been searching high and low for an alternative for my Conversational Action, which is going to be killed by Google in less than a year (please change your mind).我一直在上下搜索我的 Conversational Action 的替代品,它会在不到一年的时间内被谷歌杀死(请改变主意)。 I'm currently using DialogFlow and a Firebase function to send this text to our server.我目前正在使用 DialogFlow 和 Firebase function 将此文本发送到我们的服务器。

It seems all of the pieces to accomplish a similar thing are available in the Smart Home SDK, but I cannot tell if it can be accessed in a useful way that could replace the Conversational Action.智能家居 SDK 似乎提供了实现类似功能的所有组件,但我无法确定是否可以通过一种有用的方式访问它,从而取代会话操作。

Take for example the following:举个例子:

Hey Google, ask ThirdParty [some command]嘿谷歌,问第三方 [一些命令]

In other words:换句话说:

Hey Google, [special phrase] [send this text to 3rd party fulfillment]嘿谷歌,[特殊短语] [将此文本发送给第 3 方履行]

I could see this being achievable with a new "microphone" device type or trait.我认为这可以通过一种新的“麦克风”设备类型或特征来实现。 Or allowing this to be enabled or disabled at the service level by the developer.或者允许开发人员在服务级别启用或禁用它。 For example, if you have added ServiceName to Google Home, the phrase, "Hey Google, ask ServiceName..." would send anything after ServiceName to ServiceName's fulfillment.例如,如果您已将 ServiceName 添加到 Google Home,则短语“Hey Google,询问 ServiceName...”会将 ServiceName 之后的任何内容发送到 ServiceName 的实现。

Is this currently possible with the Smart Home Action SDK?这目前可以通过 Smart Home Action SDK 实现吗?

Note I am only interested in smart speaker and display surfaces.注意我只对智能扬声器和显示表面感兴趣。 App Actions is a non-starter for me since it won't work for smart speakers/displays so please do not suggest that. App Actions 对我来说是行不通的,因为它不适用于智能扬声器/显示器,所以请不要建议。

A feature like this is currently not available on the Google Home Ecosystem. Google Home 生态系统目前不提供此类功能。 I recommend opening up a feature request on the public issue tracker so that our internal teams can place it on the road map for future developments and upgrades.我建议在公共问题跟踪器上打开一个功能请求,以便我们的内部团队可以将其放在路上 map 以供将来开发和升级。

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

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