Alexa 无法识别依赖于样本话语的某些槽值

Alexa not recognizing some slot values dependent on the sample utterances

我创建了一个 Amazon Alexa 技能,它具有一个意图 (MyIntent) 和两个自定义槽类型(SlotA 和 SlotB)。意图架构如下所示:

{
  "intents": [
    {
      "intent": "Foo",
      "slots": [
        {
          "name": "CustomA",
          "type": "CUSTOM_A"
        },
        {
          "name": "CustomB",
          "type": "CUSTOM_B"
        }
      ]
    }
  ]
}

每个插槽都有几个值,例如 SlotA 具有

865985
710000
927291
514000

并且 SlotB 有

Photo
Car
Bed
Kitchen

我的示例语句如下所示:

MyIntent foo bar {SlotA}
MyIntent bar baz {SlotB}
MyIntent {SlotA}
MyIntent {SlotB}

问题是,Alexa 无法识别我的某些插槽值,例如 "bed",但可以识别其他插槽值,例如 "kitchen"。这适用于两种插槽类型。

有趣的是,如果我只保留简单的示例话语并删除包含短语的示例话语,那么所有的值都会得到识别,我的示例话语如下所示:

MyIntent {SlotA}
MyIntent {SlotB}

值或示例话语的顺序无关紧要。我尝试了每一种组合。也有两个插槽(将所有插槽值合并为一个)没有任何区别。

为什么带有短语的示例话语会阻止对某些槽值的识别?

编辑:

"doesn't recognize" 我的意思是用户的输入未映射到 MyIntent。在对话(会话)中时,我只收到一个 SessionEndedRequest。

亚马逊在他们的系统中有一个错误,导致无法正确构建语言识别。错误被删除后,一切都恢复正常了。这是来自亚马逊支持的电子邮件:

We recently made new tools available to help with the creation and testing of skills. The new features inadvertently impacted a small number of skills. We fixed the issue yesterday and all live skills should work as expected. Please post here if you have any more issues and we will monitor and provide assistance. For skills in development, you can now resolve this issue by clicking ‘Save’ on the interaction model tab or by clicking Build Model in Skill Builder (beta). We apologize for the inconvenience.