Capabilities of the Gemini OpenAI Compatibility Example
mainThe Gemini compatibility implementation supports the following operations:
- Model Management: List available models and retrieve specific model details (e.g.,
gemini-1.5-flash). - Chat & Streaming: Perform standard chat completions and real-time streaming of chat messages.
- Multimodal Inputs: Generate images, analyze/understand images, and process/understand audio.
- Advanced Reasoning: Generate structured outputs for complex queries and perform function calling.
- Embeddings: Create embeddings for text or other data types.
- Custom Types: Use the
byot(Bring Your Own Type) feature to handle Gemini-specific response structures.