Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ 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 is required for Azure OpenAI and newer SDK versions
# This parameter specifies the deployment name created in Azure OpenAI Studio
deployment_id="DEPLOYMENT_ID",
)
```

Expand Down