mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
(docs) using azure gpt4 vision enhancements
This commit is contained in:
parent
3c52fec28b
commit
5bb4fdc7e4
1 changed files with 9 additions and 0 deletions
|
@ -118,6 +118,15 @@ response = completion(
|
|||
|
||||
### Usage - with Azure Vision enhancements
|
||||
|
||||
Note: **Azure requires the `base_url` to be set with `/extensions`**
|
||||
|
||||
Example
|
||||
```python
|
||||
base_url=https://gpt-4-vision-resource.openai.azure.com/openai/deployments/gpt-4-vision/extensions
|
||||
# base_url="{azure_endpoint}/openai/deployments/{azure_deployment}/extensions"
|
||||
```
|
||||
|
||||
**Usage**
|
||||
```python
|
||||
import os
|
||||
from litellm import completion
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue