2016-11-09 110 views
0

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

“S344上的状态是什么?”

意图:StatusUpdate

实体:票务= S344

标注了一些话语LUIS能够认可与高可信度的意图,但从来都不是能够识别票证的实体,甚至当我使用后确切的票号我标记为实体标记的话语。

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

有没有什么特别的事情需要我去做,或者我只需要坚持添加更多的训练话语?

+0

你在添加话语之后训练你的模型吗?然后,你是否重新发布你的更新模型? –

+0

对于这两个问题都是 –

+0

这听起来很奇怪,那么......是否BOT无法识别该实体,或者在LUIS网站中发送了新的话语,但它无法识别该票证? –

回答

1

我刚刚尝试过这个,7次发言之后,LUIS认识到这张票很好。我所做的是:

  1. 发送一对夫妇话语
  2. 列车
  3. 发送话语的一个新的一堆(不同的门票数量和短语)
  4. 列车再次

我出口我LUIS App为你(下面和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 
     } 
     ] 
    } 
    ] 
} 
+0

我又增加了一句话,把它带到7,现在它正在收取票。我被抛弃了,因为它只用了3次左右的话语与其他我曾训练过的意图和实体进行管理。谢谢。 –

+0

很高兴工作!请将问题标记为已回答:) –