Luis对话框创建问题 [英] Luis Dialog creation issue

查看:57
本文介绍了Luis对话框创建问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi,我正在使用LUIS实现一个机器人,因此我想从用户&如果用户输入的信息不完整,请给出答案.然后我想用另一个我想从Luis json获得的对话框答复他.

hi I am implementing one bot using LUIS, so I want to take input from user & give answer, if user enters incomplete info. then I want to reply him with another dialog which I suppose to get from Luis json.

我在路易斯实施了同样的方法.但是在Luis UI更改之后.我无法获得在Luis中实现上述动态对话的步骤.

I had implemented the same in Luis. But after the changes of the Luis UI. I am not able to get the steps to implement the above mentioned dynamic conversation in Luis.

寻找相同的指导.预先感谢.

Looking guidance on the same. Thanks in advance.

在旧版本的luis中,我设计了Luis Application,该应用程序可以处理操作,并且我得到如下所示的对话框:

In the old version of luis, I had designed the Luis Application which was handling the action and I was getting the dialog like below:

对话":{提示":您想要哪种食物?","parameterName":"Food Name","parameterType":"foodName","contextId":"ae5de259-6a9b-476c-bbb8 -1be7fceba761,"状态:"问题}}

"dialog": { "prompt": "which food do you want?", "parameterName": "Food Name", "parameterType": "foodName", "contextId": "ae5de259-6a9b-476c-bbb8-1be7fceba761", "status": "Question" } }

但是在当前的Luis UI(已更新)中,我没有实现相同步骤的步骤.如果用户未输入不完整的信息,我正在寻找相同类型的对话框(如上所述).

But in the current Luis UI(Updated one), I am not getting the steps to implement the same. I am looking the same type of dialog (mentioned above), if user is not enters incomplete info.

关于, 松懈

推荐答案

不推荐使用动作绑定和动作参数(如UI中所述).您再也无法在LUIS中做到这一点.

Action Binding and Action Parameters were deprecated (as mentioned in the UI). You cannot do that within LUIS anymore.

好消息是图书馆是为了支持这种情况而创建的,因此您可以在bot,Web甚至控制台应用程序中完成几乎相同的操作.

The good news is that a library was created to support that scenario so you will be able to accomplish pretty much the same, in a bot, a web or even a console app.

以下是一组博客文章,解释了该库的工作方式:

Here is a set of blog posts that explain how this library works:

  • Implementing LUIS Action Binding on the Client
  • Luis Action Binding for Web Apps
  • Luis Action Binding for Console Apps

这篇关于Luis对话框创建问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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