mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
docs azure_ai command r
This commit is contained in:
parent
6b9c04618e
commit
22ac95b834
1 changed files with 6 additions and 1 deletions
|
|
@ -3,6 +3,11 @@
|
|||
## Sample Usage
|
||||
The `azure/` prefix sends this to Azure
|
||||
|
||||
Ensure you add `/v1` to your api_base. Your Azure AI studio `api_base` passed to litellm should look something like this
|
||||
```python
|
||||
api_base = "https://Mistral-large-dfgfj-serverless.eastus2.inference.ai.azure.com/v1/"
|
||||
```
|
||||
|
||||
```python
|
||||
import litellm
|
||||
response = litellm.completion(
|
||||
|
|
@ -13,7 +18,7 @@ response = litellm.completion(
|
|||
)
|
||||
```
|
||||
|
||||
### Sample Usage - LiteLLM Proxy
|
||||
## Sample Usage - LiteLLM Proxy
|
||||
|
||||
Set this on your litellm proxy config.yaml
|
||||
```yaml
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue