Google
Gemini Pro 1.5 0827 (experiment)
google/gemini-pro-1.5-002
Google's latest multimodal model, supporting image and video in text or chat prompts.
Optimized for language tasks including:
- Code generation
- Text generation
- Text editing
- Problem solving
- Recommendations
- Information extraction
- Data extraction or generation
- AI agents
Usage of Gemini is subject to Google's Gemini Terms of Use.
Note: Preview models are offered for testing purposes and should not be used in production apps. This model is heavily rate limited.
Capability
Vision Support
Tools
Function Calling
Context Window
91,728
Max Output Tokens
8,192
Using Gemini Pro 1.5 0827 (experiment) with Python API
Using Gemini Pro 1.5 0827 (experiment) with OpenAI compatible API
import openai
client = openai.Client(
api_key= '{your_api_key}',
base_url="https://api.model.box/v1",
)
response = client.chat.completions.create(
model="google/gemini-pro-1.5-002",
messages: [
{
role: 'user',
content:
'introduce your self',
},
]
)
print(response)