Skip to content

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

Open

Description

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} �

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or an unintended behavior.needs-triageThe issue has just been created and it has not been reviewed by the team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions