Skip to content

Commit

Permalink
Add Gemini 1.5 to the list of chat options (#964)
Browse files Browse the repository at this point in the history
* Add Gemini 1.5 to the list of chat options

* Include URL listing available Gemini models
  • Loading branch information
trducng authored Aug 27, 2024
1 parent 41ccd10 commit 29e2a47
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
from langchain_google_genai import GoogleGenerativeAI


# See list of model ids here: https://ai.google.dev/gemini-api/docs/models/gemini
class GeminiProvider(BaseProvider, GoogleGenerativeAI):
id = "gemini"
name = "Gemini"
models = [
"gemini-1.5-pro",
"gemini-1.5-flash",
"gemini-1.0-pro",
"gemini-1.0-pro-001",
"gemini-1.0-pro-latest",
Expand Down

0 comments on commit 29e2a47

Please sign in to comment.