From a84b19c8c64b415a4eb4806630c2829790223257 Mon Sep 17 00:00:00 2001 From: Giorgio Segalla Date: Fri, 31 Oct 2025 15:26:17 +0100 Subject: [PATCH 1/2] Add deployment_id parameter to OpenAI integration --- .../markdoc/content/integrations/embedding-models/openai.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/docs.trychroma.com/markdoc/content/integrations/embedding-models/openai.md b/docs/docs.trychroma.com/markdoc/content/integrations/embedding-models/openai.md index 4a74ee0956a..afb82ad629e 100644 --- a/docs/docs.trychroma.com/markdoc/content/integrations/embedding-models/openai.md +++ b/docs/docs.trychroma.com/markdoc/content/integrations/embedding-models/openai.md @@ -42,7 +42,8 @@ openai_ef = embedding_functions.OpenAIEmbeddingFunction( api_base="YOUR_API_BASE_PATH", api_type="azure", api_version="YOUR_API_VERSION", - model_name="text-embedding-3-small" + model_name="text-embedding-3-small", + deployment_id="DEPLOYMENT_ID", ) ``` From 3ae84a6b2eb3d53d1e66e2d55949e2666eb0070e Mon Sep 17 00:00:00 2001 From: Giorgio Segalla Date: Fri, 31 Oct 2025 16:17:08 +0100 Subject: [PATCH 2/2] Update docs/docs.trychroma.com/markdoc/content/integrations/embedding-models/openai.md Co-authored-by: propel-code-bot[bot] <203372662+propel-code-bot[bot]@users.noreply.github.com> --- .../markdoc/content/integrations/embedding-models/openai.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs.trychroma.com/markdoc/content/integrations/embedding-models/openai.md b/docs/docs.trychroma.com/markdoc/content/integrations/embedding-models/openai.md index afb82ad629e..bf4134e5633 100644 --- a/docs/docs.trychroma.com/markdoc/content/integrations/embedding-models/openai.md +++ b/docs/docs.trychroma.com/markdoc/content/integrations/embedding-models/openai.md @@ -43,6 +43,8 @@ openai_ef = embedding_functions.OpenAIEmbeddingFunction( api_type="azure", api_version="YOUR_API_VERSION", model_name="text-embedding-3-small", + # deployment_id is required for Azure OpenAI and newer SDK versions + # This parameter specifies the deployment name created in Azure OpenAI Studio deployment_id="DEPLOYMENT_ID", ) ```