mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-22 23:00:00 +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:
parent
02632d52b3
commit
ddc2d4c21e
@ -258,7 +258,8 @@ class ChatGooglePalm(BaseChatModel, BaseModel):
|
|||||||
genai.configure(api_key=google_api_key)
|
genai.configure(api_key=google_api_key)
|
||||||
except ImportError:
|
except ImportError:
|
||||||
raise ChatGooglePalmError(
|
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
|
values["client"] = genai
|
||||||
|
Loading…
Reference in New Issue
Block a user