Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add credentials parameter to GoogleGenerativeAI, ChatGoogleGenerativeAI, and GoogleGenerativeAIEmbedded #78

Merged
merged 6 commits into from
Mar 21, 2024

Conversation

jackklika
Copy link
Contributor

@jackklika jackklika commented Mar 19, 2024

Addresses issue #29 -- adds an optional constructor to the generative AI classes to allow passing in a credentials object instead of an api key. If the credentials object is not specified, it falls back to the api key like in current functionality.

@lkuligin lkuligin merged commit d7bc26a into langchain-ai:main Mar 21, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants