Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Pass qnaId in payload body. #4246

Merged
merged 1 commit into from
May 25, 2022
Merged

Conversation

Arsh-Kashyap
Copy link
Contributor

@Arsh-Kashyap Arsh-Kashyap commented May 24, 2022

Fixes #4242

Description

QnAId passed in the payload body for the correct functioning of multi-turn prompts.
In the source code in botbuilder-ai, languageServiceUtils.ts, function queryKnowledgebaseRaw, the code does not pass properly queryOptions.qnaId to the custom question answering REST call. This gives wrong behavior when using prompts in the knowledge base.

Testing

@Arsh-Kashyap Arsh-Kashyap changed the title Pass qnaId in payload body. fix: Pass qnaId in payload body. May 24, 2022
@coveralls
Copy link

coveralls commented May 24, 2022

Pull Request Test Coverage Report for Build 2375371633

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.003%) to 84.48%

Totals Coverage Status
Change from base Build 2245574340: -0.003%
Covered Lines: 19902
Relevant Lines: 22310

💛 - Coveralls

@Arsh-Kashyap Arsh-Kashyap marked this pull request as ready for review May 24, 2022 05:24
@Arsh-Kashyap Arsh-Kashyap requested a review from a team as a code owner May 24, 2022 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

botbuilder-ai does not pass qnaId to the custom question answering endpoint
3 participants