使用带有 scene.slots.params 和其他参数的提示
Using Prompts with scene.slots.params and other parameters
我正在阅读名为 Conditions 的文档文章。在那篇文章中它描述了:
You can carry out conditional logic in scenes using values from the session.params, user.params, intent.params and scene.slots.params objects.
我似乎找不到关于 intent.params
和 scene.slots.params
的任何文档。我猜这些是什么意思,但这篇文章似乎是对它们的唯一参考。
我曾假设 scene.slots.params
将是面向场景的插槽的 names/values。
现在问题...
如果我已经填充了一个场景槽并希望将其回显给最终用户,我可以在我的提示值中使用 $scene.slots.params.[NAME]
吗?
阅读 Storage: Session and Storage: User 上的文档,似乎只有这两个存储区域可用于传出提示。
我正在阅读名为 Conditions 的文档文章。在那篇文章中它描述了:
You can carry out conditional logic in scenes using values from the session.params, user.params, intent.params and scene.slots.params objects.
我似乎找不到关于 intent.params
和 scene.slots.params
的任何文档。我猜这些是什么意思,但这篇文章似乎是对它们的唯一参考。
我曾假设 scene.slots.params
将是面向场景的插槽的 names/values。
现在问题...
如果我已经填充了一个场景槽并希望将其回显给最终用户,我可以在我的提示值中使用 $scene.slots.params.[NAME]
吗?
阅读 Storage: Session and Storage: User 上的文档,似乎只有这两个存储区域可用于传出提示。