Dialogflow列表第一次在Google Assistant上不起作用 [英] Dialogflow list does not work on Google Assistant the first time

查看:92
本文介绍了Dialogflow列表第一次在Google Assistant上不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Dialogflow代理使用 Google Rich Message上的操作列表响应对象在Google Assistant平台上显示选项。

My Dialogflow agent is using an 'Actions on Google Rich Message' List response object to display options on the Google Assistant platform.

列表选项在测试时可以完美地工作在Dialogflow控制台上。但是,在移动设备上通过Google Assistant模拟器或Google Assistant应用进行测试时,列表选项在首次尝试时不起作用。仅在第二次选择选项时有效。

The list options work perfectly when testing on the Dialogflow console. However, when testing through the Google Assistant Simulator or Google Assistant app on a mobile device, the list option does not work on the first try. It works only when selecting an option the second time.

任何指导都将不胜感激。

Any guidance would be appreciated.

推荐答案

您必须在意图中添加 actions_intent_OPTION 事件处理列表中的用户选择。

You have to add the actions_intent_OPTION event in an intent that can handler the user selection from list.

您可以使用#actions_intent_OPTION.OPTION

这篇关于Dialogflow列表第一次在Google Assistant上不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆