ragleap-graph
Knowledge-graph-augmented retrieval for RAG systems — entity extraction, co-occurrence graphs, and graph-based document retrieval via Neo4j.
pip install ragleap-graph
Quickstart
from ragleap_graph import GraphConfig, GraphIndex
graph = GraphIndex(config=GraphConfig(
uri="bolt://localhost:7687",
user="neo4j",
password="...",
))
graph.upsert_document(
document_id="doc-1",
title="Q3 Report",
chunks=[{"text": "Acme Corp reported strong Q3 revenue growth."}],
)
docs = graph.find_documents_by_entities(["Acme Corp"])
related = graph.search_related_entities(["Acme Corp"], max_depth=2)
Status
Early alpha (v0.1.0). Ported from a real production GraphService, adapted for standalone open-source use — see HANDOFF.md for the full design history.
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ragleap_graph-0.2.0.tar.gz
(22.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ragleap_graph-0.2.0.tar.gz.
File metadata
- Download URL: ragleap_graph-0.2.0.tar.gz
- Upload date:
- Size: 22.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15e2540bba98d10cd9c9a68c2598c73d81391e3a92dc9609c14f45429dcfff06
|
|
| MD5 |
6fb92340c98b84b13fef726ac7680cd2
|
|
| BLAKE2b-256 |
819f3622f61bc9f79e8d3fe9f24828063f28c4cd03549d219852ab7fbfbc19c0
|
File details
Details for the file ragleap_graph-0.2.0-py3-none-any.whl.
File metadata
- Download URL: ragleap_graph-0.2.0-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98fe004c046dbfbbc6ce1caf1571a427d6b8b740ac8c4f754798870fe5a33790
|
|
| MD5 |
a7570e490dfb865415dd533e6d274a6e
|
|
| BLAKE2b-256 |
aed307686894479442741ea5a389d49abb98e0e85d7138279ec93d44c124898b
|