【问题标题】:Amazon Alexa Entity Resolution亚马逊 Alexa 实体解析
【发布时间】:2017-11-16 15:23:17
【问题描述】:

我无法让 Alexa 理解我对她说话的词语的任何同义词。尽管已将同义词添加为意图模式的一部分,但她总是会返回她不知道同义词的含义:

{
  "languageModel": {
    "types": [
      {
        "name": "LIST_OF_DEFINITIONS",
        "values": [
          {
            "id": "USER_EXPERIENCE",
            "name": {
              "value": "user experience",
              "synonyms": [
                "ux"
              ]
            }
          }
        ]
      }
    ],
  "intents": [
    {
      "name": "AMAZON.CancelIntent",
      "samples": []
    },
    {
      "name": "AMAZON.HelpIntent",
      "samples": []
    },
    {
      "name": "AMAZON.RepeatIntent",
      "samples": []
    },
    {
      "name": "AMAZON.StopIntent",
      "samples": []
    },
    {
      "name": "RecipeIntent",
      "samples": [
        "what is a {Definition}"
      ],
      "slots": [
        {
          "name": "Definition",
          "type": "LIST_OF_DEFINITIONS"
        }
      ]
    }
  ],
  "invocationName": "digital dictionary"
 }
}

我错过了什么吗?

【问题讨论】:

    标签: amazon alexa alexa-skills-kit


    【解决方案1】:

    您的同义词“ux”不会被理解,因为用户不会像单词一样发音,而是会说两个字母。因此,请尝试添加“u x”和“U.X.”。应该可以的。

    【讨论】:

    • 我将 UX 留在那里作为示例。同义词对其他词根本不起作用。因此,如果我有“敏捷工作”,则无法识别同义词“敏捷”
    猜你喜欢
    • 1970-01-01
    • 2019-02-04
    • 2018-04-25
    • 1970-01-01
    • 1970-01-01
    • 2021-04-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多