mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-23 03:19:38 +00:00
added instruction about pip install google-gerativeai (#5004)
# added instruction about pip install google-gerativeai added instruction about pip install google-gerativeai
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user