路易斯的恶意 [英] Luis the bad intent
问题描述
我定义了一个意图,即"getPayment",其中有很多话(lang fr): 我最近的付款是什么?" 我有新付款吗?" 我能看一下我的上一次付款吗?" ....
I defined one intent, "getPayment" with many utterances (lang fr): "What are my last payments" "have i new payment ?" "can i see my last payments" ....
但是当我测试我的模型时,这样说:今天在做什么?"或今天的天气如何",我的意图"getPayment"以高分(〜0.90)返回.
But when i test my model, with this utterance : "What are doing today ?" or "what is the weather like today", my intent "getPayment" is returned with a hight score (~0.90).
我该如何解决我的问题?我想返回无"的意图.我不会在意图无"中定义所有可能的发音/格?
How can i solve my problem ? I would like to the intent "None" to be returned. i will not defined all utterances/case possible in the intent "None" ?
谢谢
推荐答案
您需要使用一些无"示例来训练LUIS
模型.
You need to train your LUIS
model with some "None" examples.
提供培训示例不会限制触发"None"意图的文本,但可以帮助其他Intent(例如您的"getPayment")更准确地触发.
Giving it training examples won't limit what text will trigger the "None" intent, but it will help the other Intents (for example your "getPayment") fire more accurately.
这篇关于路易斯的恶意的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!