Skip to content

Add Gemini 2.0 models to ModelName constant class #72

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/Resources/ModelName.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ class ModelName
public const GEMINI_1_5_FLASH_8B_001 = 'gemini-1.5-flash-8b-001';
public const GEMINI_1_5_FLASH_8B_LATEST = 'gemini-1.5-flash-8b-latest';

// Optimized for: Next generation features, speed, thinking, realtime streaming, and multimodal generation
public const GEMINI_2_0_FLASH = 'gemini-2.0-flash';

// Optimized for: Cost efficiency and low latency
public const GEMINI_2_0_FLASH_LITE = 'gemini-2.0-flash-lite';

// Optimized for: Measuring the relatedness of text strings
public const TEXT_EMBEDDING_004 = 'text-embedding-004';
public const EMBEDDING_001 = 'embedding-001';
Expand Down