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

feat: add Neo4j graph backend #61

Merged
merged 8 commits into from
Sep 25, 2024
Merged

feat: add Neo4j graph backend #61

merged 8 commits into from
Sep 25, 2024

Conversation

gusye1234
Copy link
Owner

@gusye1234 gusye1234 commented Sep 24, 2024

  • Add Neo4j graph backend
  • Rearrange _storage to folder
  • Some styling for dspy extraction

Known issues for this PR:

  • Didn't find a suitable workflow action for neo4j right now, so the test of neo4j storage is skipped for now.
  • Leiden in neo4j is not stable, even given the same rand seed

Copy link

codecov bot commented Sep 24, 2024

Codecov Report

Attention: Patch coverage is 95.93909% with 8 lines in your changes missing coverage. Please review.

Project coverage is 94.13%. Comparing base (b33b2b8) to head (ba04e76).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
nano_graphrag/_utils.py 57.14% 3 Missing ⚠️
nano_graphrag/_storage/kv_json.py 92.00% 2 Missing ⚠️
nano_graphrag/graphrag.py 77.77% 2 Missing ⚠️
nano_graphrag/_storage/vdb_nanovectordb.py 97.14% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #61      +/-   ##
==========================================
+ Coverage   94.03%   94.13%   +0.10%     
==========================================
  Files          12       16       +4     
  Lines        1290     1330      +40     
==========================================
+ Hits         1213     1252      +39     
- Misses         77       78       +1     
Flag Coverage Δ
94.13% <95.93%> (+0.10%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gusye1234 gusye1234 merged commit 9ad71cf into main Sep 25, 2024
4 checks passed
Ashes47 added a commit to Ashes47/nano-graphrag that referenced this pull request Sep 26, 2024
feat: add Neo4j graph backend (gusye1234#61)
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.

1 participant