← all repositories

OpenSPG/KAG

A knowledge graph-enhanced RAG framework for domain-specific logical reasoning and factual question answering.

8.8k stars Python RAG · SearchLanguage Models
KAG
Velocity · 7d
+14
★ / day
Trend
steady
star history

KAG is a reasoning and retrieval framework that combines OpenSPG knowledge graph engine with LLMs to build Q&A systems for professional domain knowledge bases. It addresses limitations of traditional RAG by using logical form-guided reasoning instead of pure vector similarity. The framework supports multi-hop fact questioning and logical reasoning across structured knowledge, aiming to improve accuracy over standard retrieval approaches.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.