Description
openedon Sep 19, 2024
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:
- Go to 'Azure Bot Services'
- Click on 'Download bot source code'
- Open code in IDE, configure parameters to talk to Azure language, start up via Bot Emulator, send message
- 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} �