KRLabsOrg/verbatim-rag

Hallucination-prevention RAG system with verbatim span extraction. Ensures all generated content is grounded in source documents with exact citations.

60
/ 100
Established

Verbatim RAG helps researchers, analysts, and knowledge workers get accurate answers from large collections of documents without worrying about fabricated information. You input a question and a set of source documents (like research papers or reports), and it provides a direct answer composed of exact sentences from those documents, along with precise citations. This is ideal for anyone needing highly trustworthy, evidence-based information extraction.

170 stars. Available on PyPI.

Use this if you need to extract precise, verifiable answers directly from your documents and ensure that no generated information is made up or 'hallucinated'.

Not ideal if you need creative summaries, interpretations, or responses that synthesize information beyond direct verbatim extraction from your source material.

research-analysis evidence-based-question-answering knowledge-management document-verification information-retrieval
Maintenance 10 / 25
Adoption 10 / 25
Maturity 25 / 25
Community 15 / 25

How are scores calculated?

Stars

170

Forks

21

Language

Python

License

MIT

Last pushed

Mar 10, 2026

Commits (30d)

0

Dependencies

20

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/rag/KRLabsOrg/verbatim-rag"

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