01 / Applied AI & Knowledge Systems
Shipped
PDF RAG System
An asynchronous document-question-answering backend with OCR, traceable page citations, and confidence-based no-answer handling.
Role · Applied AI and backend development
Case study
What this project demonstrates
Built an asynchronous document-question-answering backend that connects PDF ingestion, OCR, retrieval, and cited answers to application workflows. PostgreSQL conversations and retrieval traces support investigation of system behavior; confidence-based abstention handles insufficient evidence. Dense, hybrid, and reranked retrieval were compared across 46 synthetic regression cases, with automated tests and CI gates.
Architecture
Engineering highlights
- Asynchronous FastAPI ingestion for native and scanned PDFs using Tesseract OCR and Celery/Redis workers.
- Qdrant retrieval with dense, hybrid, and reranked strategies, confidence-based abstention, and validated page citations.
- PostgreSQL conversations, retrieval traces, persistent metadata, and reindex fingerprints.
- Docker, automated tests, CI gates, document validation, and security hardening.
- Compared retrieval strategies across 46 synthetic regression cases: 32 positive and 14 negative/no-answer.
Outcomes
- 46 synthetic regression cases: 32 positive and 14 negative/no-answer.
Boundaries / limitations
Evaluation is repository-defined and domain-dependent; OCR and layout heuristics are bounded by configured limits and do not imply universal document understanding.