epochs

Projects · Intermediate · 4–6 hours

Chat with your documents

Build retrieval-augmented generation end to end: chunking, retrieval, a grounded prompt, citations and an evaluation.

What you'll build

A question-answering tool over your own documents that cites its sources and says 'I don't know' when it should.

You'll need

Python 3 and NumPy where the code imports it. A handful of documents you know well, such as policies, product docs or your notes. Builds on the search engine project, which provides build_index and bm25.

Learn first

This project is part of Pro

The first two projects are free. Pro opens every lesson and every project.

See Pro plansFrom ₹119 a month. No auto-renewal.