alexa - 如何同时对多个插槽使用 addElicitSlotDirective?
问题描述
以下是我的 VUI 模型的示例:
sample: select {person} {number}
Person (Custom Type with many values): [John, James, Mary, ...]
Number: AMAZON.NUMBER
用户说语音命令select John 555
。John 555
丢失,我们回复用户John 555 could not be found. Please try again with a different value.
现在我希望用户能够说Mary 345
. 我怎样才能做到这一点addElicitSlotDirective
?我看不到同时引出 2 个插槽的选项。
我没有选择组合{person} {number}
成一个名为 的自定义类型{personWithNumber}
,因为组合太多。
解决方案
推荐阅读
- visual-studio - 如何使用 vs_BuildTools.exe 安装 VS2019 CodeAnalyis 工具
- excel-formula - 试图为嵌套公式或堆叠公式找到正确的代码但无法获得它
- c - 如何修复错误“'strcmp':形参和实参 1 的不同类型”?
- java - 如何在java中从数据库中绘制带有日期的甘特图
- powershell - 使用 powershell 启动 Delta 同步时如何修复 ADSync 异常错误
- javascript - 为对象中的每个元素渲染到 DOM
- c++ - 存储、解析和执行存储的成员函数
- excel - 使用 vba 代码而不是循环更改列的值
- rust - “方法存在但不满足特征界限”是什么意思?
- json - 在 Swift 上转义 json 字符串