PUNEET
← All projects

Gita Gyan

Live demo

Verse-grounded Q&A over Chapter 2 of the Bhagavad Gita (73 verses)

A retrieval-augmented system built on the Bhagavad Gita — every answer is generated only from retrieved verses, always citing the exact chapter and verse. Current MVP: Chapter 2, BM25 lexical retrieval, extractive answers (no LLM yet).

FastAPIBM25Python

The problem

LLMs hallucinate when asked about religious or philosophical texts, and an invented verse citation is worse than no answer at all.

The approach

Scoped the MVP to Chapter 2 of the Bhagavad Gita (73 verses) and built retrieval on BM25 lexical search rather than reaching for an LLM first. Answers are extractive — built only from the retrieved verse text, always citing the exact chapter and verse. No generative LLM in the loop yet, by design, to keep hallucination risk near zero while the retrieval layer is proven out.

The result

A narrow but honest MVP: verse-grounded Q&A that never answers outside its retrieved sources, instead of a broad system that sounds confident and gets citations wrong.

Stack

FastAPI

Backend API

BM25

Lexical retrieval

Python

Retrieval and extraction pipeline

Want something like this?

I build production AI systems for businesses — not demos.

Get in touch