我试图训练LUIS识别作业单上的状态更新请求(类似于JIRA / GitHub问题ID)。作业单编号的格式为[Letter S或s] [一位或多位]。 E.g:
" S344上的状态是什么?"
意图:StatusUpdate
实体:Ticket = S344
在标记多个话语后,LUIS可以高度自信地识别意图,但永远无法识别票证实体,即使我使用标记为标记话语中的实体的确切票号。
我还尝试添加正则表达式功能[sS]{1}\d+
,但这似乎没有任何区别。
我需要做些什么特别的事情来完成这项工作,还是我只需要坚持不懈地增加更多的训练话语?
答案 0 :(得分:1)
我自己尝试了这一点,经过7次讲话后,LUIS正在认可这张票。我做的是:
我为您导出了我的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
}
]
}
]
}