question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when trying to use LanguageServices with Microsoft.Bot.Builder.AI.QnA 4.15.0

See original GitHub issue

Github 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
});

image

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.

image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ramfattahcommented, Feb 9, 2022

Hi @effirmaevei, looks like this is currently being worked on - pull-request #6179.

0reactions
ramfattahcommented, Feb 9, 2022

I am closing this one for now, feel free to re-open if you are still having issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Facing Issue while hitting QnA Service using botbuilder-ai
Version 4.12.0 Describe the bug While using botbuilder-ai package for hitting QnA service for an answer. I am getting this error: I checked ......
Read more >
Microsoft.Bot.Builder.AI.QnA 4.15.0
Classes for using QnA Maker Cognitive Service on the Microsoft Bot Builder SDK. Product, Versions Compatible and additional computed target ...
Read more >
Provision and publish a bot in Azure - Bot Service
This article describes how to use the Azure CLI to create resources for your bot, prepare your bot for deployment, and deploy your...
Read more >
Upgrading Microsoft.Bot.Builder.LanguageGeneration to ...
Upgrading Microsoft.Bot.Builder.LanguageGeneration from 4.14.1 to 4.15.0 results in new errors about the fromFile() method.
Read more >
Microsoft.Bot.Builder.AI.QnA Namespace
Explore all classes and interfaces of the Microsoft.Bot.Builder.AI.QnA namespace. ... Provides access to a Custom Question Answering Knowledge Base.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found