VectorInstitute/kg-rag

This project implements a comprehensive framework for Knowledge Graph Retrieval Augmented Generation (KG-RAG). It focuses on financial data from SEC 10-Q filings and explores how knowledge graphs can improve information retrieval and question answering compared to baseline approaches.

46
/ 100
Emerging

Implements multiple retrieval strategies including entity-based embedding matching with beam search, Cypher queries against Neo4j, and hierarchical community detection (GraphRAG-style), enabling direct comparison of knowledge graph approaches versus traditional vector similarity and chain-of-thought baselines. Built as a modular Python package with Chroma vector stores, OpenAI LLM integration, and comprehensive evaluation pipelines including hyperparameter search across methods.

No Package No Dependents
Maintenance 13 / 25
Adoption 7 / 25
Maturity 9 / 25
Community 17 / 25

How are scores calculated?

Stars

26

Forks

11

Language

Python

License

Last pushed

Mar 11, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/rag/VectorInstitute/kg-rag"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.