Is your feature request related to a problem? Please describe.
QnA Maker made Active Learning available. This allows to offer suggested questions to the user if QnA Maker is not certain, and to learn from the question feedback that the user gave.
There is an example implementation available (but without Telemetry integration) at https://github.com/Microsoft/BotBuilder-Samples/blob/master/experimental/csharp_dotnetcore/qnamaker-activelearning-bot/
The Enterprise Bot Template (TelemetryQnAMaker
class) does not make use of this functionality yet.
Describe the solution you'd like
Integration of Active Learning in TelemetryQnAMaker
class
Describe alternatives you've considered
Write it myself.
Hey team, is there any documentation on how to achieve active learning for QnA in Enterprise Bot template?
Hi @saurav2107 we don't have any documentation specific to the enterprise template, but there is a bot sample available here that can be modified to enable the scenario: https://github.com/Microsoft/BotBuilder-Samples/tree/master/experimental/csharp_dotnetcore/qnamaker-activelearning-bot
It looks like this dialog code would do the job: https://github.com/Microsoft/BotBuilder-Samples/blob/master/experimental/csharp_dotnetcore/qnamaker-activelearning-bot/Helpers/DialogHelper.cs
You can replace the qna logic in MainDialog.cs with a BeginDialog() call to this dialog. If you get something working feel free to make a PR!
SDK will be updated to support additional QnAMaker capabilities
Most helpful comment
Hi @saurav2107 we don't have any documentation specific to the enterprise template, but there is a bot sample available here that can be modified to enable the scenario: https://github.com/Microsoft/BotBuilder-Samples/tree/master/experimental/csharp_dotnetcore/qnamaker-activelearning-bot
It looks like this dialog code would do the job: https://github.com/Microsoft/BotBuilder-Samples/blob/master/experimental/csharp_dotnetcore/qnamaker-activelearning-bot/Helpers/DialogHelper.cs
You can replace the qna logic in MainDialog.cs with a BeginDialog() call to this dialog. If you get something working feel free to make a PR!