Search code examples
c#botframeworkazure-language-understandingazure-qna-maker

Dispatch LUIS and QnA Maker in Botframework V4 C#


I am trying to add LUIS and QnA Maker in a bot with dispatch and I am following this guide. But in this part is said type or namespace cannot be found. I am using Botframework V4 with latest updates. It said in the guide that it is for Botframework v4 but i think it is outdated.

Hoping someone guides me to properly configure dispatch luis and qna maker. Thanks!

enter image description here


Solution

  • To use QnAMakerEndpoint and QnAMaker you need to add nuget package Microsoft.Bot.Builder.AI.QnA to your project and add the using Microsoft.Bot.Builder.AI.QnA; statement to your code.

    Add nuget package for QnA