All work

11AI · RAG · Local LLM

Lumen Docs

Chat with your documents (RAG)

Ask a question about your PDFs and handbooks and get a streamed answer where every citation opens the exact page, passage highlighted.

Concept project · fictional brand and sample dataApp in English

38
automated tests passing
94%
Hit@1 of retrieval on 34 labelled questions
8/8
out-of-scope questions refused, 0 false refusals
100%
Hit@3: the right passage is always among the 3 sent to the model

The brief

Teams keep their answers in long PDFs and Markdown pages: handbooks, manuals, runbooks, policies. Searching them is slow, and generic chatbots answer confidently even when the documents say nothing. For internal policies or support content, an answer nobody can verify is worse than no answer.

What I built

  • Drag-and-drop upload of PDFs and Markdown, split into page-anchored passages and indexed in the background with live progress
  • Streamed answers with numbered citations and footnote-style sources, each showing its search ranks and re-rank score
  • A click on a citation opens the PDF page with the passage highlighted like marker on paper
  • Hybrid search: BM25 keywords plus vectors, fused with RRF and re-ranked by a cross-encoder
  • Refuses with "not found in documents" when no passage supports an answer, usually without calling the model
  • Evaluation page with Hit@k, MRR and refusal accuracy per search mode, on a hand-written test set
  • Collections with their own chat history, and workspace members with "asked by" bylines

The decision that mattered

Refuse before generating

A calibrated relevance gate looks at the retrieved passages before the model is called. If none is relevant, the app answers "Not found in documents" and spends no model time. When the model does answer, it may only use the numbered passages it was given, and an answer without valid citations is flagged as unverified. On the test set, 8 of 8 out-of-scope questions were refused, with 0 false refusals on the 34 answerable ones.

Screens

Answer with footnoted sources
Citation opens the page with the passage highlighted
Evaluation: Hit@k and MRR per search mode
Grounded refusal when the documents say nothing
Library with live indexing
Asking a new collection
Workspace members and roles

Have a project in mind?

Send the brief through Workana. The reply comes with questions and a written scope before any quote, so the price reflects the actual work.

Hire me on Workana

What helps in a brief: what the finished thing must do, what already exists (site, store, server, accounts), your deadline and budget range, and two or three references you like.