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

Code downloaded from Azure via "download bot code" is inaccurate #4753

Open
sasaunde opened this issue Sep 19, 2024 · 0 comments
Open

Code downloaded from Azure via "download bot code" is inaccurate #4753

sasaunde opened this issue Sep 19, 2024 · 0 comments
Labels
bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team.

Comments

@sasaunde
Copy link

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.

Versions

What package version of the SDK are you using. qmaker-bot-msi 1.0.0
What nodejs version are you using 14 (tried several)
What browser version are you using Chrome
What os are you using Mac

Describe the bug

Give a clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Azure Bot Services'
  2. Click on 'Download bot source code'
  3. Open code in IDE, configure parameters to talk to Azure language, start up via Bot Emulator, send message
  4. See error: The bot encountered an error or bug.

Bot said:
To continue to run this bot, please fix the bot source code.

Expected behavior

Give a clear and concise description of what you expected to happen.
Bot communicates with Azure language and displays the response the language sends

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

The URL created by botbuilder-ai ~4.20.0 (which was downloaded in the package.json of the bot) is a HTTP POST to ${this.endpoint.host}/language/:query-knowledgebases?projectName=${this.endpoint.knowledgeBaseId}&deploymentName=${deploymentName}&${ApiVersionQueryParam};

The Language Service requires a HTTP GET to
`${this.endpoint.host}/language/query-knowledgebases/projects/${this.endpoint.knowledgeBaseId}/qnas?api-version=2021-10-01&deploymentName=${deploymentName} �

@sasaunde sasaunde added bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team. labels Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team.
Projects
None yet
Development

No branches or pull requests

1 participant