Skip to content

fix: Removes embedding model input from GraphRAG component #7709

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pedrocassalpacheco
Copy link
Contributor

The Graph RAG component relies on vector store connection injection, meaning it does not need direct access to the embedding model. Whether the embedding is client-side (via a passed model) or server-side (handled transparently), the Graph RAG component remains unaffected. This PR removes the redundant embedding_model input from the Graph RAG component to simplify the interface and reflect this decoupling.

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Apr 18, 2025
@pedrocassalpacheco
Copy link
Contributor Author

@ogabrielluiz @erichare @edwinjosechittilappilly - please review

@github-actions github-actions bot added the bug Something isn't working label Apr 18, 2025
@erichare erichare self-requested a review April 18, 2025 16:38
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Apr 18, 2025
@erichare
Copy link
Collaborator

@pedrocassalpacheco i approved it but note there's a ruff styling error, a line being too long it looks like. odd thing is i dont think its from your PR O_O

@pedrocassalpacheco
Copy link
Contributor Author

@erichare - thanks. No, I did not change the file in question. It looks like src/backend/base/langflow/components/embeddings/embedding_model.py is causing styling issues on all open PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants