chore: upgrade Azure OpenAI embedding model to text-embedding-3-small#2128
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the solution’s default Azure OpenAI embedding model configuration to use text-embedding-3-small, aligning infrastructure parameters and local environment defaults with the newer embedding deployment.
Changes:
- Switched default embedding model/name from
text-embedding-ada-002totext-embedding-3-smalland set model version to1in infra parameters/templates. - Updated backend env default and
.env.sampleto usetext-embedding-3-small. - Minor infra adjustments: safer module output access for MI principal ID, and suppressed a Bicep linter warning for function keys.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| infra/modules/core/ai/cognitiveservices.bicep | Adjusts MI principalId output handling (now uses optional access + fallback). |
| infra/modules/app/function.bicep | Adds #disable-next-line BCP081 for the functionKeys resource. |
| infra/main.parameters.json | Updates embedding model/name/version defaults to text-embedding-3-small / 1. |
| infra/main.json | Regenerated ARM template reflecting updated defaults and safer output access. |
| infra/main.bicep | Updates embedding model/name/version default params; minor formatting change for tags union. |
| code/backend/batch/utilities/helpers/env_helper.py | Changes default AZURE_OPENAI_EMBEDDING_MODEL fallback to text-embedding-3-small. |
| .env.sample | Updates sample embedding model env var to text-embedding-3-small. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
lychee v0.21.0 excludes mailto links by default and removed the flag
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 24 out of 24 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 24 out of 24 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Purpose
Does this introduce a breaking change?
How to Test
What to Check
Verify that the following are valid
Other Information