- Notifications
You must be signed in to change notification settings - Fork20.1k
feat(langchain): Add support togoogle_genai provider ininit_embeddings#34388
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Conversation
## Changes: - Add google_genai as a supported provider- Add link to the Google documentation- Add the GoogleGenerativeAIEmbeddings in the factory function `init_embeddings`
Christophe-Lamarche-Cossette commentedDec 16, 2025
Sorry, I found out that my devcontainer didn't mount properly and create issues with me correcting the errors. |
| "azure_openai":"langchain_openai", | ||
| "bedrock":"langchain_aws", | ||
| "cohere":"langchain_cohere", | ||
| "google_genai":"langchain_google_genai", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I would also expect this to be applied tolibs/langchain_v1/langchain/embeddings/base.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Good catch. The changes are applied to thelangchain_v1 lib as well.
Uh oh!
There was an error while loading.Please reload this page.
The Google Generative AI provider is not supported in
init_embeddingsin comparison toinit_chat_models.Fixes#34386
Changes:
init_embeddings