forked from phoenix/litellm-mirror
(docs) update azure docs
This commit is contained in:
parent
66dd747f68
commit
37454cf874
3 changed files with 5 additions and 5 deletions
|
@ -100,7 +100,7 @@ os.environ["AZURE_API_VERSION"] = ""
|
|||
|
||||
# azure call
|
||||
response = completion(
|
||||
"azure/<your_deployment_id>",
|
||||
"azure/<your_deployment_name>",
|
||||
messages = [{ "content": "Hello, how are you?","role": "user"}]
|
||||
)
|
||||
```
|
||||
|
@ -229,7 +229,7 @@ os.environ["AZURE_API_VERSION"] = ""
|
|||
|
||||
# azure call
|
||||
response = completion(
|
||||
"azure/<your_deployment_id>",
|
||||
"azure/<your_deployment_name>",
|
||||
messages = [{ "content": "Hello, how are you?","role": "user"}],
|
||||
stream=True,
|
||||
)
|
||||
|
|
|
@ -25,5 +25,5 @@ os.environ["AZURE_API_VERSION"] = ""
|
|||
messages = [{ "content": "Hello, how are you?","role": "user"}]
|
||||
|
||||
# azure call
|
||||
response = completion("azure/<your_deployment_id>", messages)
|
||||
response = completion("azure/<your_deployment_name>", messages)
|
||||
```
|
|
@ -99,7 +99,7 @@ os.environ["AZURE_API_VERSION"] = ""
|
|||
|
||||
# azure call
|
||||
response = completion(
|
||||
"azure/<your_deployment_id>",
|
||||
"azure/<your_deployment_name>",
|
||||
messages = [{ "content": "Hello, how are you?","role": "user"}]
|
||||
)
|
||||
```
|
||||
|
@ -228,7 +228,7 @@ os.environ["AZURE_API_VERSION"] = ""
|
|||
|
||||
# azure call
|
||||
response = completion(
|
||||
"azure/<your_deployment_id>",
|
||||
"azure/<your_deployment_name>",
|
||||
messages = [{ "content": "Hello, how are you?","role": "user"}],
|
||||
stream=True,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue