训练 LUIS 识别工作单号

Training LUIS to recognise a job ticket number

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

"What is that status on S344?"

意图:状态更新

实体:票证 = S344

标记大量话语后,LUIS 可以高度自信地识别意图,但永远无法识别 Ticket 实体,即使我使用我在标记话语中标记为实体的确切票号也是如此。

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

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

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

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

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

{
  "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
        }
      ]
    }
  ]
}