Skip to content
2026live

DocuMind AI

Ask a PDF a question and see the page the answer came from — every claim is cited, and when the document doesn’t say, it says so.

DocuMind answering “How far ahead can I book a study room?” with a page 5 citation, the cited passage and the page with it highlighted, and declining “Who is the head librarian?” because the handbook doesn’t say

The problem

A chat box over a document is only useful if you can check it. So the brief was strict: every claim cites its document and page, the passage is highlighted on the page itself, and a question the document doesn’t answer gets “it doesn’t say”, not a confident guess.

What I built

A retrieval-augmented Q&A app. A FastAPI backend reads each PDF page by page and indexes the passages; a Gemini model may answer only from the best matches, with citations, and every citation is checked against what it was actually given. A Next.js front end streams the answer and shows the cited page, highlighted.

What I learned

That “I don’t know” can’t be a similarity threshold: questions the document nearly answers score like ones it does, so declining needs the model’s grounding check plus citation validation.

Watch it work

A cited answer, a declined question, and one question answered across two PDFs. Recorded on the live site; loading pauses are shortened, everything else is real time.

Overview

Features

How it's put together

Challenges

Where it landed

Screens

Want something like this?

Get in touch →