Zleap-AI/SAG
SAG - SQL驱动的RAG引擎 · 查询时自动构建知识图谱 | SQL-Driven RAG Engine · Automatically Build Knowledge Graph During Querying
Decomposes documents into semantic atomic events and extracts multidimensional entity vectors, then dynamically constructs relationship networks at query time using a three-stage search (Recall → Expand → Rerank) rather than maintaining pre-built graphs. Built on FastAPI with MySQL for structured storage and vector databases for semantic search, supporting customizable entity types and achieving explainable results through PageRank-weighted graph expansion.
1,119 stars.
Stars
1,119
Forks
21
Language
Python
License
Apache-2.0
Category
Last pushed
Dec 08, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/rag/Zleap-AI/SAG"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
neo4j/neo4j-graphrag-python
Neo4j GraphRAG for Python
microsoft/graphrag
A modular graph-based Retrieval-Augmented Generation (RAG) system
FalkorDB/GraphRAG-SDK
Build fast and accurate GenAI apps with GraphRAG SDK at scale.
gusye1234/nano-graphrag
A simple, easy-to-hack GraphRAG implementation
getzep/graphiti
Build Real-Time Knowledge Graphs for AI Agents