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

ChatGoogleGenerativeAI Not Defined #13

Open
ZellW opened this issue Nov 11, 2024 · 1 comment
Open

ChatGoogleGenerativeAI Not Defined #13

ZellW opened this issue Nov 11, 2024 · 1 comment

Comments

@ZellW
Copy link

ZellW commented Nov 11, 2024

assistant.py", line 140, in
model = ChatGoogleGenerativeAI(model="gemini-1.5-flash-latest")
NameError: name 'ChatGoogleGenerativeAI' is not defined

@twobombs
Copy link

twobombs commented Dec 8, 2024

pip install -qU langchain-google-genai

( source https://python.langchain.com/docs/integrations/chat/google_generative_ai/ )

add to code

from langchain_google_genai import ChatGoogleGenerativeAI

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

No branches or pull requests

2 participants