Gemini Flash 1.5 0827 (experiment)
Gemini 1.5 Flash is a foundation model that performs well at a variety of multimodal tasks such as visual understanding, classification, summarization, and creating content from image, audio and video. It's adept at processing visual and text inputs such as photographs, documents, infographics, and screenshots.
Gemini 1.5 Flash is designed for high-volume, high-frequency tasks where cost and latency matter. On most common tasks, Flash achieves comparable quality to other Gemini Pro models at a significantly reduced cost. Flash is well-suited for applications like chat assistants and on-demand content generation where speed and scale matter.
Capability
Vision Support
Tools
Function Calling
Context Window
2,800,000
Max Output Tokens
8,192
Using Gemini Flash 1.5 0827 (experiment) with Python API
Using Gemini Flash 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-flash-1.5-001",
messages: [
{
role: 'user',
content:
'introduce your self',
},
]
)
print(response)