← All WorksCASE STUDY :: N°03 · PROTOTYPE · AUG 2025
DocPopper · Applied AI

The PDF has the answers. The AI doesn’t get to freestyle them.

I built a web prototype for pulling answers out of dense manuals without letting AI make up a little side quest. Users sign in, upload PDFs up to 10 MB, and keep each document in its own saved thread.

Client
Multi-Document RAG
Role
Full-Stack · built solo
Timeline
Aug 2025
Stack
Python · Flask · LangChain · FAISS · MongoDB · Vue 3
DocPopper Vue 3 workspace showing saved PDF threads, grounded SOP answer, and empty-context refusal
Desktop capture of the DocPopper workspace with sample SOP session data at 1440×900.

01

THE PROBLEM

AI can sound confident while getting the document completely wrong. Charming. Also dangerous.

  • Replies don’t clearly separate what came from the uploaded PDF and what came from general model knowledge.
  • Questions about separate documents get mixed together without isolated, saved threads.
  • Relying on a single embedding provider means one API quota snag breaks uploads completely.

02

WHAT I BUILT

Separate PDF threads, source-labelled answers, and a plan B for when APIs have a day off.

  • Sign-in, 10 MB PDF upload, and saved auto-titled threads isolated per document.
  • Backend enforces a structured four-field reply that tags the source (PDF vs general knowledge) and suggests a follow-up.
  • Refuses to guess when the uploaded PDF doesn’t contain the answer. Sometimes “not in the file” is the smartest answer.
  • Multi-provider embedding fallback (cloud down to local open-source) with session token cost tracking.

03

DECISIONS & TRADE-OFFS

Make every answer show its source

A strict structured output contract separates grounded PDF facts from general knowledge and triggers refusal when retrieval comes back empty.

Chain cloud providers with a local open-source backup

Document indexing degrades gracefully across providers instead of failing outright when an external quota hits a ceiling.

Bound active indexes with automatic recovery

Bounded caching keeps follow-up queries fast while preventing memory bloat, restoring saved threads from disk when needed.

04

HONEST STATUS

A prototype, not a product launch. Let’s keep our feet on the ground.

  • Tested on sample technical PDFs and SOP documents; no external client rollout or formal accuracy benchmark.
  • Confidence scores are model self-reported rather than calibrated against a ground-truth dataset.
  • Designed as a single-active-PDF-per-thread workspace to keep context boundaries unambiguous.