【问题标题】:How to find the elicit slot id for a dialog delegate如何找到对话委托的引出槽 id
【发布时间】: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


    【解决方案1】:

    您实际上不需要手动填写这些内容。即使您使用“手动委派”,您也可以使用这些。我不确定你需要它们做什么,但有办法得到它们。

    也许这会有所帮助:https://developer.amazon.com/es-mx/docs/custom-skills/delegate-dialog-to-alexa.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-01-30
      • 2020-09-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多