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

Gov deployment embedding error #611

Closed
1 of 2 tasks
nhwkuhns opened this issue Apr 2, 2024 · 0 comments · Fixed by #613
Closed
1 of 2 tasks

Gov deployment embedding error #611

nhwkuhns opened this issue Apr 2, 2024 · 0 comments · Fixed by #613
Assignees

Comments

@nhwkuhns
Copy link
Collaborator

nhwkuhns commented Apr 2, 2024

Bug Details

Describe the bug
When deploying to Azure Gov with the IS_USGOV_DEPLOYMENT=true flag with the ada embedding model, the environment variable in the enrichment web-app gets set to True which causes a 500 error to appear on the front-end when prompting the system as well as error out any document enrichments. I will add a method to ensure the text is all lower-case in the enrichment web-app python code.

Steps To Reproduce

  1. Deploy to Azure Gov
  2. Select Azure OpenAI Ada as the embedding service
  3. ask any prompt to the frontend

GitHub branch: [e.g. main]
main
Version or Latest commit: [obtained by running git log -n 1 <branchname>
43cb0f0 637beb5
What region is your Azure Open AI Service in?
Azure Gov
What ChatGPT model are you using?
gpt-4
model name: (i.e. gpt-3.5-turbo, gpt-4)
gpt-4
model version: (i.e. 0613)
0125-Preview
What embeddings model are you using?
text-embedding-ada-002

If the bug is confirmed, would you be willing to submit a PR?

  • Yes
  • No
@nhwkuhns nhwkuhns self-assigned this Apr 2, 2024
@nhwkuhns nhwkuhns linked a pull request Apr 2, 2024 that will close this issue
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.

1 participant