mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
docs azure ai command-r plust
This commit is contained in:
parent
cfe358abaa
commit
ab60d7c8fb
1 changed files with 2 additions and 2 deletions
|
|
@ -6,8 +6,8 @@ The `azure/` prefix sends this to Azure
|
|||
```python
|
||||
import litellm
|
||||
response = litellm.completion(
|
||||
model="azure/<your-deployment-name>",
|
||||
api_base="https://Cohere-command-r-plus-gylpd-serverless.eastus2.inference.ai.azure.com/v1/"
|
||||
model="azure/command-r-plus",
|
||||
api_base="<your-deployment-base>/v1/"
|
||||
api_key="eskk******"
|
||||
messages=[{"role": "user", "content": "What is the meaning of life?"}],
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue