V2 vision: evolve WhisperDocs from a working voice + PDF prototype into a production-oriented document intelligence platform that can support 1000+ users, paid subscriptions, reliable retrieval, measurable latency, and a deployable real-world operating model.

1. V2 goals

Product goals

Engineering goals

2. RAG V2 - from basic search to a production retrieval funnel

The current system stores page-indexed text chunks and searches them through the application server. V2 introduces a multi-stage retrieval funnel: filtering, hybrid retrieval, reranking, evaluation, and traceability. Production RAG architecture commonly separates ingestion, retrieval, augmentation, and generation, with retrieval quality being a major source of overall answer quality.

Target retrieval flow

User question → query understanding/rewrite → tenant + document authorization filter → lexical + semantic candidate retrieval → merge/deduplicate → reranker → context compression/top-k → grounded prompt → LLM → citations/source pages.

Retrieval funnel