Skip to content
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

Google Gemini 1.5 pro or 2.0 flash support #286

Open
cStralpt opened this issue Feb 7, 2025 · 1 comment
Open

Google Gemini 1.5 pro or 2.0 flash support #286

cStralpt opened this issue Feb 7, 2025 · 1 comment
Assignees

Comments

@cStralpt
Copy link

cStralpt commented Feb 7, 2025

🚀 The feature, motivation and pitch

just want to ask a questions, is it possible to use google gemini API?
why am i stupidly asking question here? - the discord link was dead so idk where to ask my question

Alternatives

No response

Additional context

No response

@krishan711
Copy link

in python you can use it like this:

from langchain_google_genai import ChatGoogleGenerativeAI
...
llm = ChatGoogleGenerativeAI(
    model="gemini-1.5-flash",
    google_api_key=GEMINI_API_KEY,
)
``` with the rest of the demo app as usual (i'm using this in production right now and working great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants