Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
Christophe-Lamarche-Cossette wants to merge11 commits intolangchain-ai:master
base:master
Choose a base branch
Loading
fromChristophe-Lamarche-Cossette:cossette-christophe-lamarche/embeddings-factory

Conversation

@Christophe-Lamarche-Cossette
Copy link

@Christophe-Lamarche-CossetteChristophe-Lamarche-Cossette commentedDec 16, 2025
edited
Loading

The Google Generative AI provider is not supported ininit_embeddings in comparison toinit_chat_models.

Fixes#34386

Changes:

  • Add google_genai as a supported provider
  • Add link to the Google documentation
  • Add the GoogleGenerativeAIEmbeddings in the factory functioninit_embeddings

## Changes: - Add google_genai as a supported provider- Add link to the Google documentation- Add the GoogleGenerativeAIEmbeddings in the factory function `init_embeddings`
@github-actionsgithub-actionsbot added langchain-classic featureFor PRs that implement a new feature; NOT A FEATURE REQUEST labelsDec 16, 2025
@Christophe-Lamarche-Cossette

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",
Copy link
Member

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

Christophe-Lamarche-Cossette reacted with thumbs up emoji

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.

@github-actionsgithub-actionsbot added the langchain`langchain` package issues & PRs labelDec 16, 2025
@github-actionsgithub-actionsbot added featureFor PRs that implement a new feature; NOT A FEATURE REQUEST and removed featureFor PRs that implement a new feature; NOT A FEATURE REQUEST labelsDec 17, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@mdrxymdrxyAwaiting requested review from mdrxy

Assignees

No one assigned

Labels

featureFor PRs that implement a new feature; NOT A FEATURE REQUESTlangchain`langchain` package issues & PRslangchain-classic

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Addgoogle_genai as supported provider for embeddings factory ininit_embeddings.

2 participants

@Christophe-Lamarche-Cossette@mdrxy

[8]ページ先頭

©2009-2025 Movatter.jp