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
In addition to the options provided in the base `OpenAI` client, the following options are provided:
485
485
486
-
-`azure_endpoint`
486
+
-`azure_endpoint` (or the `AZURE_OPENAI_ENDPOINT` environment variable)
487
487
-`azure_deployment`
488
-
-`api_version`
489
-
-`azure_ad_token`
488
+
-`api_version` (or the `OPENAI_API_VERSION` environment variable)
489
+
-`azure_ad_token` (or the `AZURE_OPENAI_AD_TOKEN` environment variable)
490
490
-`azure_ad_token_provider`
491
491
492
492
An example of using the client with Azure Active Directory can be found [here](https://github.com/openai/openai-python/blob/main/examples/azure_ad.py).
0 commit comments