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

fix/AzureOpenAI embeddings and LLM deployment name (dc) #172

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

danielchalef
Copy link
Member

@danielchalef danielchalef commented Aug 28, 2023

rebase of @ClaudiaJ 's PR #171

will merge as #172 to ensure tests run correctly.

solves "The API deployment for this resource does not exist" for LLM and
embedding models deployed in Azure OpenAI by deployment name supported
in tmc/langchaingo#253

We can't Validate OpenAI LLM model names from hard-coded list in Azure
because the model name parameter in API request is a deployment name,
and while Microsoft advises us to use the model name as deployment name,
we did not listen, and I didn't want to coordinate redeploying with a
different name on a Friday.

This also permits use of customized models that can be deployed in Azure
side-by-side base models as added benefit so I think it was worthwhile.

solves "The API deployment for this resource does not exist" for LLM and
embedding models deployed in Azure OpenAI by deployment name supported
in tmc/langchaingo#253

We can't Validate OpenAI LLM model names from hard-coded list in Azure
because the model name parameter in API request is a deployment name,
and while Microsoft advises us to use the model name as deployment name,
we did not listen, and I didn't want to coordinate redeploying with a
different name on a Friday.

This also permits use of customized models that can be deployed in Azure
side-by-side base models as added benefit so I think it was worthwhile.
@danielchalef danielchalef temporarily deployed to build-test August 28, 2023 23:12 — with GitHub Actions Inactive
@danielchalef danielchalef merged commit cbf4fe4 into main Aug 28, 2023
4 checks passed
@danielchalef danielchalef deleted the fix/azure-openai-embeddings-dc branch August 28, 2023 23:19
@danielchalef
Copy link
Member Author

@ClaudiaJ Merged! Thanks again!

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 this pull request may close these issues.

None yet

2 participants