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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -259,6 +259,7 @@ class ChatGooglePalm(BaseChatModel, BaseModel):
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