Content revision 4e771eaf0390cc87b6c7c6fd8469f3508f6ceeec7119472e6c1ccf17e2e1e5d2 ## A Structure-Preserving RAG Ingestion Pipeline A Structure-Preserving RAG Ingestion Pipeline Source ID ragflow-pipeline:overview Original https://www.henryw.me/#/ragflow-pipeline Preserving document structure when preparing PDFs for an AI assistant At PwC, I evaluated and combined document-processing tools for an AI assistant that answers public enquiries using a client’s documents. I built an ingestion pipeline that prepares those documents for retrieval while preserving the relationships an answer may depend on, including table structure, cross-page references and the branches of a flowchart. End-to-end tests and deployment analysis informed the solution I recommended to the client.