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

GraphRAG with llama-index #793

Merged
merged 50 commits into from
Oct 30, 2024
Merged

GraphRAG with llama-index #793

merged 50 commits into from
Oct 30, 2024

Conversation

rbrugaro
Copy link
Collaborator

Description

GraphRAG components using llama-index:

comps/dataprep/neo4j/llama-index/extract_graph_neo4j.py
comps/retrievers/neo4l/llama-index/retriever_community_answers_neo4j.py

later i will add a GenAIExample that will combine these 2 with the DocSum to generate the final answers from the community summaries

rbrugaro and others added 14 commits October 15, 2024 13:53
Signed-off-by: Rita Brugarolas <[email protected]>
Signed-off-by: Rita Brugarolas <[email protected]>
Signed-off-by: Rita Brugarolas <[email protected]>
Copy link
Contributor

@ichbinblau ichbinblau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, @rbrugaro Thanks for enabling Graphrag with llama-index. I found some inconsistent places in the commits during the test. PTAL.

comps/retrievers/neo4j/llama_index/README.md Outdated Show resolved Hide resolved
comps/retrievers/neo4j/llama_index/README.md Outdated Show resolved Hide resolved
comps/retrievers/neo4j/llama_index/README.md Outdated Show resolved Hide resolved
comps/retrievers/neo4j/llama_index/README.md Outdated Show resolved Hide resolved
comps/dataprep/neo4j/llama_index/README.md Outdated Show resolved Hide resolved
@rbrugaro
Copy link
Collaborator Author

@ichbinblau Thanks for catching this!, PR still in draft since i need to do some clean up and will take care of the READMEs

Copy link

codecov bot commented Oct 23, 2024

Codecov Report

Attention: Patch coverage is 9.52381% with 38 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
comps/cores/mega/gateway.py 7.31% 38 Missing ⚠️
Files with missing lines Coverage Δ
comps/cores/mega/constants.py 98.41% <100.00%> (+0.02%) ⬆️
comps/cores/mega/gateway.py 30.24% <7.31%> (-2.07%) ⬇️

... and 1 file with indirect coverage changes

@rbrugaro rbrugaro marked this pull request as ready for review October 23, 2024 21:19
rbrugaro and others added 3 commits October 24, 2024 03:40
Signed-off-by: Rita Brugarolas <[email protected]>
Copy link
Collaborator

@ashahba ashahba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rbrugaro for this PR!
This looks like a great PR and my comments and change requests are mostly BKMs for code consistency.

comps/cores/mega/gateway.py Show resolved Hide resolved
comps/cores/mega/gateway.py Show resolved Hide resolved
comps/cores/mega/gateway.py Show resolved Hide resolved
comps/dataprep/neo4j/llama_index/README.md Outdated Show resolved Hide resolved
comps/dataprep/neo4j/llama_index/README.md Outdated Show resolved Hide resolved
@rbrugaro rbrugaro requested a review from ashahba October 30, 2024 03:34
Copy link
Collaborator

@ashahba ashahba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ashahba ashahba requested review from lvliang-intel and removed request for lvliang-intel October 30, 2024 05:43
@ashahba ashahba merged commit 19330ea into opea-project:main Oct 30, 2024
15 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.

6 participants