Skip to content

Fixes 32196: Let Azure embeddings use a separate deployment - #38901

Merged
manerow merged 3 commits into
open-metadata:mainfrom
iamkiayun:fix/32196-azure-embedding-deployment
Nov 27, 2026
Merged

manerow merged 3 commits into
open-metadata:mainfrom
iamkiayun:fix/32196-azure-embedding-deployment

Conversation

@iamkiayun

Copy link
Copy Markdown
Contributor

Describe your changes

Fixes #32196. Azure users can set OPENAI_EMBEDDING_DEPLOYMENT to send semantic-search requests to their embedding deployment while chat continues using LLM_OPENAI_DEPLOYMENT. Leaving the new setting empty preserves the existing fallback. The embedding health check reports the deployment used for the request.

Type of change

Bug fix.

High-level design

The optional setting lives in llmConfiguration.embeddings.openai. Chat and embeddings continue to share the endpoint, credentials and API version. Existing configurations require no migration.

Tests

Focused Java tests send chat and embedding requests to a local HTTP server and check the paths and authentication headers for separate, shared and OpenAI-compatible deployments. Health-check coverage verifies the displayed deployment. No live Azure resource was used.

@iamkiayun
iamkiayun marked this pull request as ready for review November 27, 2026 09:59
@iamkiayun
iamkiayun requested a review from a team as a code owner November 27, 2026 09:59
@iamkiayun
iamkiayun requested a review from pmbrull November 27, 2026 09:59
@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically.

Maintainers can bypass this check by adding the skip-pr-checks label.

@iamkiayun

Copy link
Copy Markdown
Contributor Author

@tomasmontielp Thanks for assigning #32196 and #36757. Both fixes are now ready for review in #38901 and #38900. The validation checks on both PRs ask for Shipping → Status and Source on the linked issues. Could you set those fields and rerun Validate PR Metadata on each?

@gitar-bot

gitar-bot Bot commented Nov 27, 2026

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk

Adding a separate Azure embedding deployment changes semantic-search request routing; an incorrect setting could disrupt vector generation and retrieval.

Adds an optional OPENAI_EMBEDDING_DEPLOYMENT setting so Azure semantic-search embedding requests can target a separate deployment from chat, with an empty value preserving the existing fallback to LLM_OPENAI_DEPLOYMENT. The embedding health check now reports the deployment used for the request. No issues found.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@manerow manerow left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @iamkiayun for the fix and for the thorough tests. Looks good to me.

@manerow
manerow enabled auto-merge (squash) November 27, 2026 16:26
@manerow
manerow merged commit 25f1b68 into open-metadata:main Nov 27, 2026
43 of 44 checks passed
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.

llmConfiguration issue for Azure OpenAI

2 participants