EMBEDDING_AZURE_OPENAI_API_KEY, EMBEDDING_AZURE_DEPLOYMENT, EMBEDDING_AZURE_ENDPOINT and EMBEDDING_AZURE_API_VERSION environment variables. You can obtain the Azure OpenAI API key from the Azure Portal.
Usage
If an API key is provided, it will be used for authentication over an Azure Identity
Config
Here are the parameters available for configuring Azure OpenAI embedder:- Python
- TypeScript
| Parameter | Description | Default Value |
|---|---|---|
model | The name of the embedding model to use | text-embedding-3-small |
embedding_dims | Dimensions of the embedding model | 1536 |
azure_kwargs | The Azure OpenAI configs | config_keys |