我将路易斯用作使用Microsoft Bot框架构建的聊天机器人的语言理解服务。
我观察到奇怪的行为:
- 我在意图“可扣除” 中添加了一个字符串。
- 用户发送“什么是我的扣除额” 字符串--->路易斯返回所需的意图“可扣除”。 好吧!
- 用户发送“我的扣除是什么?” 或“我的扣除额是什么?在第二种情况下问标记)--->路易斯还返回其他一些意图(与免赔额完全无关)。 不好!
- 也,我看不到像“终点说话”部分中的任何话语,这样我就可以将话语重新分配给所需的意图。 根本不好!
任何想法如何修复它,如何改善拼写错误的话语,缺乏符号以及 -非常重要 - 单词的同义词?
I use LUIS as a Language Understanding Service for our Chat Bot built with Microsoft Bot Framework.
And I observe the strange behavior:
- I added a string "what is my deductible?" to the intent "Deductible".
- A user sends "what is my deductible" string ---> LUIS returns the desired intent "Deductible". OK!
- A user sends "what is my deductibl?" OR "what is my deductible" (misspelling in the first case, lack of a question mark in the second case) ---> LUIS returns some other intents (which are not related to deductible AT ALL). NOT OK!
- Also, I don't see any utterances like those in "Review Endpoint Utterances" section so I could reassign the utterances to the desired intent. NOT OK AT ALL!
Any ideas how to fix it, how to improve the recognition for utterances with misspellings, lack of symbols and also - it's very important - with synonyms of the words?
发布评论
评论(1)
为了通过拼写错误,缺乏符号和其他要求来改善话语,需要使用正确的语法添加话语模板。
拼写错误
以下代码为v2预测端点
以下代码为v3预测端点
,使用以下资源,使用有效的语法执行讲话完美创建。
https://learn.microsoft.com/en-us/azure/cognitive-services/luis/luis/luis-how-how-to-to-to-to-model-intent -pattern
https://learn.microsoft.com/en-us/azure/cognitive-services/luis/luis-concept-data-alteration?tabs = v3
To improve the utterances with misspellings, lack of symbols and other requirements, there is a need to add the templates of utterance using correct syntax.
misspellings
The below code is V2 prediction end point
The below code is V3 prediction end point
To perform the utterances perfect creation using valid syntaxes, Using the following resources.
https://blog.botframework.com/2018/06/07/improving-accuracy-in-luis-with-patterns/
https://learn.microsoft.com/en-us/azure/cognitive-services/luis/luis-how-to-model-intent-pattern
https://learn.microsoft.com/en-us/azure/cognitive-services/luis/luis-concept-data-alteration?tabs=V3