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:
Leonid Ganeline
2023-05-19 15:32:24 -07:00
committed by GitHub
parent 02632d52b3
commit ddc2d4c21e

View File

@@ -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