Skip to content

Commit

Permalink
docs: add azure env vars (#814)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Nov 14, 2023
1 parent 9bb3c4e commit bd8e32a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit bd8e32a

Please sign in to comment.