From bd8e32a380218d0c9ff43643ccc1a25b3c35120d Mon Sep 17 00:00:00 2001 From: Stainless Bot <107565488+stainless-bot@users.noreply.github.com> Date: Tue, 14 Nov 2023 04:00:24 +0000 Subject: [PATCH] docs: add azure env vars (#814) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f3698a9ff4..e7e65828b8 100644 --- a/README.md +++ b/README.md @@ -483,10 +483,10 @@ print(completion.model_dump_json(indent=2)) In addition to the options provided in the base `OpenAI` client, the following options are provided: -- `azure_endpoint` +- `azure_endpoint` (or the `AZURE_OPENAI_ENDPOINT` environment variable) - `azure_deployment` -- `api_version` -- `azure_ad_token` +- `api_version` (or the `OPENAI_API_VERSION` environment variable) +- `azure_ad_token` (or the `AZURE_OPENAI_AD_TOKEN` environment variable) - `azure_ad_token_provider` 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).