h4gen/postgres-graph-rag

A Python Library to perform Graph RAG in your Postgres DB without headaches

39
/ 100
Emerging

This tool helps you ask complex questions about relationships in your data, like 'How is Person A connected to Project B through shared dependencies?'. It takes your existing text documents and turns them into a structured network of information within your PostgreSQL database. The output is a highly accurate answer, even when the information spans multiple pieces of text. It's designed for data analysts, researchers, or anyone who needs precise answers from their interconnected data without managing multiple specialized databases.

Available on PyPI.

Use this if you need to understand complex relationships and connections within your text data stored in PostgreSQL, and want to avoid the complexity of integrating separate graph databases.

Not ideal if your primary need is simple keyword search or basic document retrieval without considering the deeper connections between entities.

knowledge-management data-analysis information-retrieval research data-mining
Maintenance 6 / 25
Adoption 6 / 25
Maturity 22 / 25
Community 5 / 25

How are scores calculated?

Stars

16

Forks

1

Language

Python

License

MIT

Last pushed

Dec 22, 2025

Commits (30d)

0

Dependencies

10

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/rag/h4gen/postgres-graph-rag"

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