forked from Archives/langchain
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)
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user