0

我正在尝试训练 LUIS 识别工作票状态更新的请求(类似于 JIRA/GitHub 问题 ID)。作业单号的格式为 [字母 S 或 s][一位或多位数字]。例如:

“S344的那个状态是什么?”

意图:状态更新

实体:票证 = S344

在标记了许多话语之后,LUIS 可以以高可信度识别意图,但永远无法识别票证实体,即使我使用我在标记话语中标记为实体的确切票证编号​​。

我也尝试过添加 Regex 功能[sS]{1}\d+,但这似乎没有任何区别。

我需要做一些特别的事情来完成这项工作,还是我只需要坚持添加更多的训练话语?

4

1 回答 1

1

我自己刚刚尝试过,在 7 次发言后,LUIS 可以很好地识别票证。我所做的是:

  1. 发送几句话
  2. 火车
  3. 发送一组新的话语(不同的票号和短语)
  4. 再次训练

我为您导出了我的 LUIS 应用程序(下方和此处

{
  "luis_schema_version": "1.3.0",
  "name": "testticket",
  "desc": "",
  "culture": "en-us",
  "intents": [
    {
      "name": "None"
    },
    {
      "name": "StatusUpdate"
    }
  ],
  "entities": [
    {
      "name": "Ticket"
    }
  ],
  "composites": [],
  "bing_entities": [],
  "actions": [],
  "model_features": [],
  "regex_features": [],
  "utterances": [
    {
      "text": "what is that status on s344?",
      "intent": "StatusUpdate",
      "entities": [
        {
          "entity": "Ticket",
          "startPos": 5,
          "endPos": 5
        }
      ]
    },
    {
      "text": "status of s124",
      "intent": "StatusUpdate",
      "entities": [
        {
          "entity": "Ticket",
          "startPos": 2,
          "endPos": 2
        }
      ]
    },
    {
      "text": "what's the status of s4",
      "intent": "StatusUpdate",
      "entities": []
    },
    {
      "text": "please tell me the status of s4",
      "intent": "StatusUpdate",
      "entities": [
        {
          "entity": "Ticket",
          "startPos": 6,
          "endPos": 6
        }
      ]
    },
    {
      "text": "whats the status of s5",
      "intent": "StatusUpdate",
      "entities": [
        {
          "entity": "Ticket",
          "startPos": 4,
          "endPos": 4
        }
      ]
    },
    {
      "text": "whats the status of s9",
      "intent": "StatusUpdate",
      "entities": [
        {
          "entity": "Ticket",
          "startPos": 4,
          "endPos": 4
        }
      ]
    },
    {
      "text": "please tell me the status of s24",
      "intent": "StatusUpdate",
      "entities": [
        {
          "entity": "Ticket",
          "startPos": 6,
          "endPos": 6
        }
      ]
    }
  ]
}
于 2016-11-10T12:28:03.380 回答