如何在 Dialogflow 中强制隐式调用(google 操作)

How to force implicit invocation in Dialogflow (google actions)

我想知道如何强制 dialogflow 对我的意图使用隐式调用。

我已经设置了一个自定义的家庭自动化系统(灯、暖气、咖啡机等)。 它由 raspberry pi 控制,带有 dialogflow 的 webhook,并且工作正常。但是我无法成功地隐式调用它。

例如,如果我说: "Ok google, i want to speak with assistant" "Power on the light" 有用。

但如果我只是说: "Ok google, power on the light" 它回答:"You havent set up this light" (是google助手的默认回复,不是我的。

有谁知道如何强制它改用我的? 提前致谢。

我认为您误解了文档:Implicit Invocation

The Google Assistant attempts to match the user's request to a suitable Action and then presents a few of these matched Actions to the user based on some qualitative and quantitative signals.

'good invocation phrase' 的意义在于 Google 对那些匹配并向用户呈现的操作进行匹配(自行决定)。

该页的最后一行强化了这一事实:

These invocation phrases may not be unique to your Action; it's up to the Assistant to determine which Actions to suggest to users.

但是,如果您尝试将基于 Raspberry Pi 的控制器与 Google 操作集成,那么您应该查看 Google 所见的 Smart Home: Create a Smart Home Action You'll still need a cloud server to handle the interaction between Google and your hardware, but this way your end hardware is just another light, fan, or camera