Search code examples
c#botframeworkazure-language-understanding

LuisActionDialog is obsolete - how to work with LuisActionBinding?


I am reading and learning the code from: https://github.com/Microsoft/BotBuilder-Samples/tree/master/CSharp/Blog-LUISActionBinding

And then I wanted to plug this in my own project but LuisActionBinding is not working with LuisDialog. And I read that LuisActionDialog API is now obsolete

Can you point me to the right direction on how to go forward?


Solution

  • And I read that LuisActionDialog API is now obsolete

    The LuisActionDialog API which is obsoleted is in the Microsoft.Bot.Builder.Dialogs namespace, and in the official LUIS Action Binding Sample, the LuisActionDialog is under the namespace Microsoft.Cognitive.LUIS.ActionBinding.Bot.

    This Microsoft.Cognitive.LUIS.ActionBinding.Bot package is not released, if you want to use that LuisActionDialog, you need to download the sample, and there's source code of this package.

    This is a reported issue and you can refer to it here.