actions-builder

How to render a list returned from a webhook

心不动则不痛 提交于 2020-12-30 03:47:01
问题 I am using Google Actions. I am returning JSON from my webhook and receiving the following error when I test my action in the simulator: "Failed to render List or Collection prompt because of missing Type Override for a slot. Note, List and Collection should only be used in slot filling. There should be a corresponding Type Override that describes how to render the List or Collection for this Type." The JSON is a slightly modified sample taken from docs at https://developers.google.com

How to render a list returned from a webhook

随声附和 提交于 2020-12-30 03:41:24
问题 I am using Google Actions. I am returning JSON from my webhook and receiving the following error when I test my action in the simulator: "Failed to render List or Collection prompt because of missing Type Override for a slot. Note, List and Collection should only be used in slot filling. There should be a corresponding Type Override that describes how to render the List or Collection for this Type." The JSON is a slightly modified sample taken from docs at https://developers.google.com