尽管训练正确,HTTP 服务仍返回错误意图
HTTP service returning wrong intent despite correct training
我有一个奇怪的情况。对于某些话语,LUIS 已被训练为 return GetGenericResponse 意图。例如,谢谢你,你真好等等(如下截图)
但在 JSON 中,LUIS return 为他们提供了错误的意图 (GetBotIntroduction)。即使在手动单击“训练”按钮并重新发布服务后也是如此。
我是不是漏掉了什么?
我也在 LUIS MSDN 论坛上发布了这个问题。 Microsoft 的某个人回应了一个对我有用的解决方案。
LUIS uses a machine learning model to make its predictions and in some
edge cases when two intents are similar it can get confused on certain
utterances even if they are labelled as one intent or the other.
To fix this issue you need only to add 1 or 2 more labels to
“GetEducationHelp” that are similar to “learning about ai”, such as “I
am learning about ai”. Once you retrain after adding that label the
model should learn to distinguish between both intents sufficiently.
我有一个奇怪的情况。对于某些话语,LUIS 已被训练为 return GetGenericResponse 意图。例如,谢谢你,你真好等等(如下截图)
但在 JSON 中,LUIS return 为他们提供了错误的意图 (GetBotIntroduction)。即使在手动单击“训练”按钮并重新发布服务后也是如此。
我是不是漏掉了什么?
我也在 LUIS MSDN 论坛上发布了这个问题。 Microsoft 的某个人回应了一个对我有用的解决方案。
LUIS uses a machine learning model to make its predictions and in some edge cases when two intents are similar it can get confused on certain utterances even if they are labelled as one intent or the other.
To fix this issue you need only to add 1 or 2 more labels to “GetEducationHelp” that are similar to “learning about ai”, such as “I am learning about ai”. Once you retrain after adding that label the model should learn to distinguish between both intents sufficiently.