podcasts / Gaurav Sen / episode / question
Question

How do you handle PDF tables and scanned images in a RAG pipeline?

Answered from AI Interview #6 - 1M context window in LLM? · Gaurav Sen · 2026-09-22

Tanishka's answer in Gaurav Sen's mock interview is to change only the ingestion pipeline. Common parsers such as PyPDF and PyMuPDF handle tables poorly, so a layout detection step first labels each page region as a title, table, text or logo. Each element type is then sent to a parser built for it, since one parser rarely extracts everything well.

▸In their words

“a single parser might not be able to you know extract all of these things very efficiently” Tanishka · at 6:35 — open in the transcript →

Source: our own transcription of the episode. The full conversation is on Gaurav Sen (2026-09-22). Read the whole episode summary →

▸More from this episode

Q1How does RAG work, according to Gaurav Sen's AI interview #6?Q2Why use a vector database instead of Postgres for RAG embeddings?Q3How many chunks should a RAG pipeline retrieve per query?Q4Does RAG reduce LLM hallucination?
Transcribe your links. Paste a YouTube, Google Drive or podcast link and WhipScribe gives you the transcript. Transcribe a link →