LUIS-对多个同义词func使用短语列表不起作用 [英] LUIS - Using Phrase list for multiple synonyms func is not working

查看:66
本文介绍了LUIS-对多个同义词func使用短语列表不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用LUIS作为聊天机器人交互的界面.基于意图和话语,我们必须将多个单词设置为单词的同义词.例如,报告"具有另一个词作为"ddata".为此,我们在LUIS中使用短语列表,其中 我们设置了一个具有多个同义词的单词,如下图所示.

我提到的步骤如下所述,
我创建了一个报告"短语列表,短语值是报告".和"ddata".
另外,我创建了一个报告"意图,并将话语设置为生成报告".和报告".
3.训练和测试"ddata",我没有将报告意图作为首选意图.
4.我测试过的另一种情况,当在测试中键入"generate ddata"时,我得到的报告意图得分最低(0.48)
5.根据上面提到的细节,"ddata"被指定为"ddata".分数应与报告"相同?

I am using LUIS as an interface for chat bot interaction. Based on intents and utterances, we have to set multiple words as synonyms for the word. For eg., 'report' has another word as "ddata". For this we using a Phrase list in the LUIS, where we set a word with multiple synonyms as mentioned in the below-given images.

The steps I followed are mentioned below,
1. I created a 'report' phrase list and phrase values are "report" and "ddata".
2. Also, I created a 'report' intent and set the utterances as "generate a report" and "report".
3. Train and test the 'ddata', I didn't get report intent as top preferred intent.
4. Another scenario which I tested, when 'generate a ddata' is typed on a test, then I got report intent with the lowest score(0.48)
5. As per the above mentioned details, the "ddata" should have the same score as the "report'?

a)词组列表

请告知我们执行的任何步骤是否错误或是否还有其他解决方案.

推荐答案

您好,Naveen,

Hi Naveen,

我试图复制您的问题,并且能够根据测试结果正确地返回响应.请在下面找到我的LUIS应用意图检测报告.

I tried to replicate your issue and I was able to get the response back correctly as per the test results. Please find my LUIS app intent to detect Report below.

我添加了以下短语列表.

I added following phrase list.

然后,我培训了该应用程序并将其发布到暂存环境.并运行测试用例.

And then I trained and published the app to the Staging environment. and ran follwoing test cases.

1)ddata:响应如下

1) ddata : Response as below

{
  "query": "\"ddata\"",
  "topScoringIntent": {
    "intent": "GenerateReportIntent",
    "score": 0.8591581
  },
  "entities": []
}


2)赋予ddata

2) genarate a ddata

{
  "query": "\"generate a ddata\"",
  "topScoringIntent": {
    "intent": "GenerateReportIntent",
    "score": 0.9671111
  },
  "entities": []
}

我只更改了意图和短语列表的名称,但确实按预期得到了所需的意图.

I only changed the names of the intent and the phrase list, but I did get back the required intent as expected.

希望获得帮助,如果您有任何疑问,请告知我们.

Hope this help, let us know in case you have any queries.



这篇关于LUIS-对多个同义词func使用短语列表不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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