mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
docs(azure.md): improve azure docs
This commit is contained in:
parent
f9ef3ce32d
commit
5e516522fb
1 changed files with 3 additions and 3 deletions
|
|
@ -3,9 +3,9 @@
|
|||
api_key, api_base, api_version etc can be passed directly to `litellm.completion` - see here or set as `litellm.api_key` params see here
|
||||
```python
|
||||
import os
|
||||
os.environ["AZURE_API_KEY"] = ""
|
||||
os.environ["AZURE_API_BASE"] = ""
|
||||
os.environ["AZURE_API_VERSION"] = ""
|
||||
os.environ["AZURE_API_KEY"] = "" # "my-azure-api-key"
|
||||
os.environ["AZURE_API_BASE"] = "" # "https://example-endpoint.openai.azure.com"
|
||||
os.environ["AZURE_API_VERSION"] = "" # "2023-05-15"
|
||||
|
||||
# optional
|
||||
os.environ["AZURE_AD_TOKEN"] = ""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue