askWithList with RichResponse。用什么代替?

问题描述 投票:0回答:1

我正在使用Actions SDK,我正在尝试实现以下交互(仅带屏幕的设备),但到目前为止我还没有成功:

Here are your top 3 songs. Select one you like or say 'show me more' to see the next 3 songs.

 * Song 1: X
 * Song 2: Y
 * Song 3: Z

> Show me more

Ok, here are 3 more songs. Select the one you like or say 'Show me more'.

 * Song 4: S
 * Song 5: T
 * Song 6: U

> Song 4: S

Ok, here's information on Song 4. Tap on the link to go to the artist's website:

[title]
[album image]
[link to https://www.example.com/album/song]

如果我使用askWithList并处理actions.intent.OPTION意图,帮助程序会忽略响应中的任何列表或基本卡片。根据对this page的评论,这似乎是设计的:

如果使用actions.intent.OPTION意图,则不能使用卡

我该如何实现这种互动?如何选择列表项时显示链接?

任何帮助,将不胜感激!

谢谢

编辑:只是为了澄清,这里有2个问题:

  1. 当用户从列表中选择项目时,无法显示另一个列表
  2. 当用户从列表中选择项目时,无法显示基本卡片。

如果您不同意1或2,请提供证据。

actions-on-google
1个回答
0
投票

虽然由Carousel或列表选项产生的基本卡片不会在模拟器上显示,但它可以在移动设备上正常工作。

© www.soinside.com 2019 - 2024. All rights reserved.