DuoRAG
This tool is a retrieval-augmented generation system that maintains both a vector store and a SQL database. Usual RAG operations are served by the vector store, while queries requiring counting, summation, or selection are routed to the SQL database. It can start with an initial schema or discover the schema itself, and when a user query cannot be answered, a candidate schema entry is created and populated during a nightly backfill run so the question can be answered later.
What it addresses
Existing RAG solutions cannot answer schematic questions such as "how many X are there".
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
DuoRAG
This tool is a retrieval-augmented generation system that maintains both a vector store and a SQL database. Usual RAG operations are served by the vector store, while queries requiring counting, summation, or selection are routed to the SQL database. It can start with an initial schema or discover the schema itself, and when a user query cannot be answered, a candidate schema entry is created and populated during a nightly backfill run so the question can be answered later.
Problem: Existing RAG solutions cannot answer schematic questions such as "how many X are there".
Posted by @cagz · Original source ↗
Source text · @cagz · · Source ↗
Getting frustrated by not having RAG solutions able to answer schematic questions such as "how many X are there", I've created DuoRAG: https://github.com/cagriy/duo-rag