microsoft / botbuilder-dotnet

Welcome to the Bot Framework SDK for .NET repository, which is the home for the libraries and packages that enable developers to build sophisticated bot applications using .NET.
https://github.com/Microsoft/botframework
MIT License
864 stars 480 forks source link

Microsoft.Bot.Builder.AI.QnA library -> migration path from QnAMakerRecognizer to Custom Question Answering? #6750

Open omon77 opened 4 months ago

omon77 commented 4 months ago

I am not sure if there is a gap in migration guide or the functionality hasn't been worked on yet, but I am trying to figure out what is the path forward for the QnAMakerRecognizer and how to port code to leverage Custom Question Answering?

Documentation states:

Bot SDK: For bots to use custom question answering, use the Bot.Builder.AI.QnA SDK – We recommend customers to continue to use this for their Bot integrations.

Here is the screenshot: image

Are there plans on updating the library, specifically the QnAMakerRecognizer, as it is returning instance of QnAMaker...

https://github.com/microsoft/botbuilder-dotnet/blob/07ed900bb7326e85b8a277a10dcf78db0806ab2d/libraries/Microsoft.Bot.Builder.AI.QnA/QnAMakerRecognizer.cs#L303

With the upcoming retirement of QnAMaker, it seems that the whole QnAMaker* segment of the SDK needs to be ported over to leverage Question Answering and Custom Question Answering.