我们有一个Google Home设备,例如Google Home mini。之后,我们创建了一个dialogflow对话。因此基本对话如下:
User: Hey Google, talk to water log.
Google Home: Hello, did you know that you have to drink 3 litres of water each day.
User: Hey Google, talk to water log that I have drunk 500ml water today.
Google Home: You have drunk a total of 500ml water today.
那很好。我们正在尝试实现Google Home / Assistant开始对话,或者我们可以远程向Google Assistant发送命令以在Google Home上(从Google Home以外的其他设备)发起对话并继续对话。例如:
Google Home: Hey [user], Did you drink some water today?
User: Yes, I have drunk 300ml today.
Google Home: You have drunk a total of 300ml water today.
这就是我们陷入困境的地方。我们尝试执行以下操作,并使用grpc / google assistant SDK广播一条消息。广播了第一部分,但是当您说回一些内容时,它并不知道意图的上下文。
我们如何开始对话,并且用户可以与Google主页对话?
答案 0 :(得分:1)
不可能让助手自己发起对话,这大概是因为开发人员会很快滥用它。但是,有几种方法可以通过提醒,通知等使用户参与其中,为此请查看文档的User engagement部分。