在LUIS中无意培训 [英] Training None Intent in LUIS

查看:72
本文介绍了在LUIS中无意培训的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个旅行机器人,其意图如下:-

I have a travel bot with following intents:-

  1. BookAFlight(经过20次发声训练)

  1. BookAFlight (trained with 20 utterances)

GetTicketCopy(经过20次发声训练)

GetTicketCopy (trained with 20 utterances)

取消票(训练20声)

无(默认)(当前未接受训练)

None (default) (currently not trained)

MS文档建议我在添加到其他意图中时,每增加10个言语就至少训练1-2个言语.这意味着我需要说6-12句话才能训练无.

MS documentation suggests that I train None for atleast 1-2 utterances for every 10 utterances added to other intents. Which means I would need say 6-12 utterances to train None.

我的查询是应该使用什么种类的语言来训练None?

My query is what kind of utterances should be used to train None?

  1. 在阳光下,除了与我的机器人相关的一切外(例如,我想订购比萨饼,今天的天气如何,美国总统是谁?等)

  1. Everything under the sun apart from what is relevant to my bot ( for e.g. I want to order a pizza, How is the weather today, Who is the president of USA? etc.)

与用来训练我其他意图的话语相对应的所有否定陈述(例如,我不想预订机票,我不想打印出来,我不想取消我的票等).

All negative statements corresponding to the utterances used to train my other intents (for e.g. I don't want to book a flight ticket, I don't want to take a print out, I don't want to cancel my ticket etc.)

与我目前未涵盖的意图有关的所有言语,但用户仍可以向旅行机器人询问(例如,我想预订前往机场的出租车,我的航班状态如何)

All utterances that corresponds to intents currently not covered in my scope but which users could still ask to a travel bot (for e.g. I want to Book a Cab to the airport, What is the status of my flight)

长话短说,我正在尝试确定应在我的无意图"中使用哪种话语.没有人是处理有效言语否定"变体的正确地方.

Long story short, I am trying to identify what kind of utterances should go into my None intent . Is None the right place to handle "Negative" variations of valid utterances.

推荐答案

None意向不是针对负变体"的,而是标记了不受其他意向管理的所有内容.

None intent is not made for "Negative variations" but to tag everything that is not managed by your other intents.

因此,您应该添加与您的漫游器无法处理但与您的上下文相关联的情况相关的话语(您的第三个想法).

So you should add utterances corresponding to cases that your bot cannot handle but linked to your context (your 3rd idea).

例如,在我的一个项目中,None意图是根据我的客户日志根据其他客户用例进行培训的,而不是我将用机器人处理的用例.而且有助于避免在糟糕的情况下抛出意图

For example in one of my projects, None intent is trained with other use-cases of my customer than the one I will treat with my bot, based on my customer logs. And it's helping avoiding to throw an intent in a bad case

这篇关于在LUIS中无意培训的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆