CASE_01
AskDocs
AskDocs v2
Full-stack RAG platform for querying PDF collections with source-grounded AI answers and page-level citations.
AskDocs is a full-stack document intelligence platform built around Retrieval-Augmented Generation. Users can upload and manage PDF collections, organize documents per conversation, search across chat-specific or global document scopes, and receive streamed AI answers grounded in retrieved source material. The system combines semantic vector search, persistent conversations, page-level citations, an integrated PDF viewer, bilingual SK/EN support, AI-generated chat titles, security boundaries for untrusted document content, and automated RAG evaluation.
WHAT_I_BUILT
- Designed the complete application and RAG architecture
- Implemented the NestJS backend and PostgreSQL persistence layer
- Built the PDF ingestion, embedding and pgvector retrieval pipeline
- Implemented streaming conversational workflows and persistent message state
- Developed per-chat document management and global retrieval scopes
- Built the Next.js user interface, citation workflow and PDF viewing experience
- Implemented AI-generated chat titles and bilingual SK/EN support
- Designed automated unit, integration, end-to-end and RAG evaluation coverage
- Hardened the system around document trust boundaries, error handling and concurrency
TECH_STACK