2016-11-09 106 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

很高興工作!請將問題標記爲已回答:) –