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 · 1 comment
Open

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

sasaunde opened this issue Sep 19, 2024 · 1 comment
Assignees
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. bug Indicates an unexpected problem or an unintended behavior. customer-replied-to Indicates that the team has replied to the issue reported by the customer. Do not delete. customer-reported Issue is created by anyone that is not a collaborator in the repository.

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
@dmvtech
Copy link
Collaborator

dmvtech commented Nov 6, 2024

Hi @sasaunde

How was this bot originally created and published?

@dmvtech dmvtech self-assigned this Nov 6, 2024
@dmvtech dmvtech added customer-reported Issue is created by anyone that is not a collaborator in the repository. Bot Services Required for internal Azure reporting. Do not delete. Do not change color. customer-replied-to Indicates that the team has replied to the issue reported by the customer. Do not delete. and removed needs-triage The issue has just been created and it has not been reviewed by the team. labels Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. bug Indicates an unexpected problem or an unintended behavior. customer-replied-to Indicates that the team has replied to the issue reported by the customer. Do not delete. customer-reported Issue is created by anyone that is not a collaborator in the repository.
Projects
None yet
Development

No branches or pull requests

2 participants