Error when trying to use LanguageServices with Microsoft.Bot.Builder.AI.QnA 4.15.0
See original GitHub issueGithub issues should be used for bugs and feature requests. Use Stack Overflow for general “how-to” questions.
Version
netcoreapp3.1 + Microsoft.Bot.Builder.AI.QnA 4.15.0
Describe the bug
Version 4.15 (latest) of Microsoft.Bot.Builder.AI.QnA breaks when trying to connect to a LanguageServices published KB. This does not happen if using the project library included when creating the bot from Azure or when using Azure.AI.Language.QuestionAnswering.QuestionAnsweringClient.
To Reproduce
Steps to reproduce the behavior:
using Microsoft.Bot.Builder.AI.QnA;
using Microsoft.Extensions.Configuration;
var qnaServiceType = configuration["QnAServiceType"];
QnAMaker myQnA = new QnAMaker(new QnAMakerEndpoint
{
KnowledgeBaseId = configuration["QnAKnowledgebaseId"],
EndpointKey = configuration["QnAEndpointKey"],
Host = configuration["QnAEndpointHostName"],
QnAServiceType = qnaServiceType
});
Expected behavior
The project should provide up to date Microsoft.Bot.Builder.AI.QnA version that is compatible with the Language Service Questions Answering that you are promoting in Azure.
Additional context
This piece of code was taken from the code auto-generated after creating a bot for language services. This appears to rely on a modified version of Microsoft.Bot.Builder.AI.QnA that is not available in NuGet, but rather included as some embedded SDK.
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (3 by maintainers)
Top GitHub Comments
Hi @effirmaevei, looks like this is currently being worked on - pull-request #6179.
I am closing this one for now, feel free to re-open if you are still having issues.