Skip to content

Commit

Permalink
chore(vertexai): Add supported models in tokenizer (#10939)
Browse files Browse the repository at this point in the history
  • Loading branch information
happy-qiao authored Oct 1, 2024
1 parent a38650e commit 3d9ef48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vertexai/genai/tokenizer/tokenizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ var supportedModels = map[string]bool{
"gemini-1.0-pro-001": true,
"gemini-1.0-pro-002": true,
"gemini-1.5-pro-001": true,
"gemini-1.5-pro-002": true,
"gemini-1.5-flash-001": true,
"gemini-1.5-flash-002": true,
}

// Tokenizer is a local tokenizer for text.
Expand Down

0 comments on commit 3d9ef48

Please sign in to comment.