You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feat: Support Azure Workload Identity Credential (#9012)
* Start adding support for passing callable to Azure components
* Add to chat version
* Fix test
* Add reno
* Add support to azure doc and text embedder
* Rename
* update llm metadata extractor
* Add tests for text embedder
* Update tests
* Remove unused fixture and import
* Update reno
- Added a new parameter `azure_ad_token_provider` to all Azure OpenAI components: `AzureOpenAIGenerator`, `AzureOpenAIChatGenerator`, `AzureOpenAITextEmbedder` and `AzureOpenAIDocumentEmbedder`. This parameter optionally accepts a callable that returns a bearer token, enabling authentication via Azure AD.
5
+
- Introduced the utility function `default_azure_token_provider` in `haystack/utils/azure.py`. This function provides a default token provider that is serializable by Haystack. Users can now pass `default_azure_token_provider` as the `azure_ad_token_provider` or implement a custom token provider.
0 commit comments