File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -60,15 +60,15 @@ def _validate_api_key(self) -> None:
6060 )
6161
6262 def _validate_auth_type (self ) -> None :
63- """Validate the Azure authentication type.
63+ """Validate the authentication type.
6464
65- azure_auth_type is required when using Azure OpenAI
66- and explicitly defines the authentication type to use .
65+ auth_type must be api_key when using OpenAI and
66+ can be either api_key or azure_managed_identity when using AOI .
6767
6868 Raises
6969 ------
70- AzureAuthTypeMissingError
71- If the Azure authentication type is missing when required .
70+ ConflictingSettingsError
71+ If the Azure authentication type conflicts with the model being used .
7272 """
7373 if self .auth_type == AuthType .AzureManagedIdentity and (
7474 self .type == LLMType .OpenAIChat or self .type == LLMType .OpenAIEmbedding
You can’t perform that action at this time.
0 commit comments