Building a RAG Pipeline over 17,000 PDFs
A build log for a RAG system over thousands of real drug leaflets — PDF-to-markdown, section-aware chunking, a cross-encoder reranker, and GPU-scaled embeddings. The bugs that nearly sank it, with the numbers.
8 min read