SAG
ActiveDescription
SQL-Driven RAG Engine that automatically builds knowledge graphs during querying, combining SQL query capabilities with Retrieval-Augmented Generation for efficient knowledge retrieval.
Key Features
- SQL-driven RAG engine that automatically builds knowledge graphs at query time instead of pre-maintaining them
- Three-stage smart search: entity recall → multi-hop expansion → intelligent ranking (PageRank)
- Semantic atomic event extraction — automatically decomposes documents into structured events and multi-dimensional entities
- 5W1H dimension system (time, location, person, topic, action, tags) with custom entity type support
- Complete provenance — every search result includes a clue chain and confidence scores
- Docker Compose one-click deployment and Python SDK integration
Use Cases
Categories
Quick Start
git clone https://github.com/Zleap-AI/SAG.git && cd SAG && cp .env.example .env && docker compose up -d, visit http://localhost