All RAG pipelines that handles PDFs does the same thing: extract text, chunk it, embed the chunks. The entire pipeline assumes that the text is the document. But text is often only a small part of the full story.

A court filing has headers, case numbers in specific positions, indented paragraphs that signal legal structure, signature blocks. A...