【发布时间】:2019-07-19 21:04:51
【问题描述】:
我是使用 ask cli 进行 Alexa 开发的新手,在使用 dialog-delegate-starter 时遇到了问题。在 json 模型中,有一个字段叫做 elicitation,它的值是“Elicit.Slot.251925459829.983270759031”,这似乎是某种自动生成的 id。我正在想象创建自己的对话意图,并且必须手动填写。这个id是怎么产生的,去哪里找的?
"dialog": {
"intents": [
{
"name": "factIntent",
"confirmationRequired": false,
"slots": [
{
"name": "city",
"type": "cityName",
"elicitationRequired": true,
"confirmationRequired": false,
"prompts": {
"elicitation": "Elicit.Slot.251925459829.983270759031"
}
}
]
}
]
},
【问题讨论】:
标签: json model command-line-interface alexa