forked from phoenix/litellm-mirror
(docs) gemini pro vison
This commit is contained in:
parent
a5fce3b2de
commit
cb34c3c3f3
1 changed files with 5 additions and 0 deletions
|
@ -61,6 +61,11 @@ litellm.vertex_location = "us-central1 # Your Location
|
||||||
|
|
||||||
LiteLLM supports `litellm.acompletion()`, `litellm.completion()` for `gemini-pro-vision`. You can call `gemini-pro-vision` in the same input/output format as OpenAI [`gpt-4-vision`](https://docs.litellm.ai/docs/providers/openai#openai-vision-models)
|
LiteLLM supports `litellm.acompletion()`, `litellm.completion()` for `gemini-pro-vision`. You can call `gemini-pro-vision` in the same input/output format as OpenAI [`gpt-4-vision`](https://docs.litellm.ai/docs/providers/openai#openai-vision-models)
|
||||||
|
|
||||||
|
For Gemini LiteLLM Supports the following types passed in `url`
|
||||||
|
- Images with Cloud Storage URIs - gs://cloud-samples-data/generative-ai/image/boats.jpeg
|
||||||
|
- Images with direct links - https://storage.googleapis.com/github-repo/img/gemini/intro/landmark3.jpg
|
||||||
|
- Videos with Cloud Storage URIs - https://storage.googleapis.com/github-repo/img/gemini/multimodality_usecases_overview/pixel8.mp4
|
||||||
|
|
||||||
**Example Request**
|
**Example Request**
|
||||||
```python
|
```python
|
||||||
import litellm
|
import litellm
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue