Skip to content

Commit

Permalink
Adding text generation model supports for gemini 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dotpyu authored May 19, 2024
1 parent f2ba05d commit 4868157
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alfred/fm/google.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
"Google GenAI module not found. Please install google-generativeai to use the Google model."
)

GOOGLE_GENAI_MODELS = ("gemini-pro", "gemini-1.5-flash")
GOOGLE_GENAI_MODELS = ("gemini-pro", "gemini-1.5-flash", "gemini-1.5-pro-latest")

GOOGLE_GENAI_VISION_MODELS = ("gemini-pro-vision", "gemini-1.5-pro-latest", "gemini-1.5-flash")
GOOGLE_GENAI_VISION_MODELS = ("gemini-pro-vision")

GOOGLE_GENAI_EMBEDDING_MODELS = ("embedding-001",)

Expand Down

0 comments on commit 4868157

Please sign in to comment.