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

The web service unavailable after deploying by azd. #99

Closed
zedy-wj opened this issue Sep 25, 2024 · 4 comments · Fixed by #103
Closed

The web service unavailable after deploying by azd. #99

zedy-wj opened this issue Sep 25, 2024 · 4 comments · Fixed by #103

Comments

@zedy-wj
Copy link

zedy-wj commented Sep 25, 2024

Describe the issue:
It seems normal after executing the command: azd up,
image

but when click the endpoint after azd up and enter the question, service is unavailable.
image

Repro steps:

  1. Open in GitHub Codespace.
  2. Run azd auth login
  3. Run azd init
  4. Run azd up
  5. Click the endpoint after deploying.

Environment:

  • Azd version: azd version 1.10.1 (commit 31409a33266fb4a5fdbb644bc83988e725d6c7c9)

  • OS: Codespaces

Expected behavior:
All services are available after deploying by azd up

@hemarina and @john0isaac for notification.

@john0isaac
Copy link
Collaborator

john0isaac commented Sep 25, 2024

Thank you for testing this!

@zedy-wj can you try to run the command that adds the data?
We don't automatically populate the database with the provided sample of data this step has to be done manually after the deployment. See this https://github.com/Azure-Samples/Cosmic-Food-RAG-app#add-the-data

@zedy-wj
Copy link
Author

zedy-wj commented Sep 26, 2024

Thank you for testing this!

@zedy-wj can you try to run the command that adds the data? We don't automatically populate the database with the provided sample of data this step has to be done manually after the deployment. See this https://github.com/Azure-Samples/Cosmic-Food-RAG-app#add-the-data

I also tried providing some data according to the ReadMe, but encountered the following problems:
image

This error seems to be that the default SKU of the cluster does not meet the requirements?

@john0isaac
Copy link
Collaborator

Ok that's an actual error let me fix it.
We are using Index HNSW which I guess is not currently supported by the M25 SKU.
I will change it to IVF Index and it should work.

@john0isaac
Copy link
Collaborator

@khelanmodi can you confirm whether the M25 SKU supports creating HNSW index or not.
And if not which sku supports the HNSW index? Or is it not public yet?

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 a pull request may close this issue.

2 participants