From ddc2d4c21e5bcf40e15896bf1e377e7dc2d63ae9 Mon Sep 17 00:00:00 2001 From: Leonid Ganeline Date: Fri, 19 May 2023 15:32:24 -0700 Subject: [PATCH] added instruction about pip install google-gerativeai (#5004) # added instruction about pip install google-gerativeai added instruction about pip install google-gerativeai --- langchain/chat_models/google_palm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/langchain/chat_models/google_palm.py b/langchain/chat_models/google_palm.py index cdfbd8e1..0f305db8 100644 --- a/langchain/chat_models/google_palm.py +++ b/langchain/chat_models/google_palm.py @@ -258,7 +258,8 @@ class ChatGooglePalm(BaseChatModel, BaseModel): genai.configure(api_key=google_api_key) except ImportError: raise ChatGooglePalmError( - "Could not import google.generativeai python package." + "Could not import google.generativeai python package. " + "Please install it with `pip install google-generativeai`" ) values["client"] = genai