首页 > 解决方案 > 如何同时对多个插槽使用 addElicitSlotDirective?

问题描述

以下是我的 VUI 模型的示例:

sample: select {person} {number}
Person (Custom Type with many values): [John, James, Mary, ...]
Number: AMAZON.NUMBER

用户说语音命令select John 555John 555丢失,我们回复用户John 555 could not be found. Please try again with a different value.

现在我希望用户能够说Mary 345. 我怎样才能做到这一点addElicitSlotDirective?我看不到同时引出 2 个插槽的选项。

我没有选择组合{person} {number}成一个名为 的自定义类型{personWithNumber},因为组合太多。

标签: alexaalexa-skills-kitalexa-skill

解决方案


推荐阅读