Luis Dialog creation issue

两盒软妹~` 提交于 2019-12-12 05:48:40

问题


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.

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.

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:

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

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.

Regards, Lax


回答1:


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

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


来源:https://stackoverflow.com/questions/44283516/luis-dialog-creation-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!