Enterprise Document Intelligence.
FR EN
Enterprise Document Intelligence

The articles, volume by volume

Part I What works, what breaks 1. minimal RAG 2. embeddings' failure modes 3. RAG is not ML 4. technique-fit grid ★ the core Part II The four bricks 5. document parsing (A · B) 6. question parsing (A · B) 7. retrieval (A · B · C) 8. generation Part III One-document pipelines 9. the upgraded pipeline 10. adaptive parsing 11. cross-references 12. listing 13. the workflow pipeline Part IV One doc to a corpus 14. the corpus problem 15. preparing the corpus 16. ontology 17. querying the corpus Part V Operating in production 18. code architecture 19. storage 20. evaluation 21. cost & latency 22. security The spine: the four bricks, relational data at every one 1. Parsing 2. Question parsing 3. Retrieval 4. Generation one document (Parts II–III) → a whole corpus (Part IV) → run it for years (Part V) plus companions (2bis, 5bis–5septies, 6bis), bonus (B01–B08), and epiloguesmedium.com/@angela.shi
Volume 1 at a glance: five Parts, built on the four bricks (parsing, question, retrieval, generation).

Part II · The four bricks

5Document parsing
5AWhat to Read in a PDF Before You Build RAG on It 5BA PDF Parser for RAG Should Return Structured Data, Not Text 5bisAzure Layout for the PDF Pages Your RAG Can't Read
5terParse PDFs for RAG on Your Own Machine with Docling Soon
5quaterWhy OCR Alone Isn't Enough for Scanned PDFs in RAG Soon
5quinquiesMake PDF Charts Searchable for RAG with a Vision LLM Soon
5sexiesMake PDF Images Searchable for RAG Without Captioning Them All Soon
5septiesRebuild a PDF's Table of Contents for RAG
5octiesPDF Heading Detection for RAG Without a Table of Contents Soon
5noniesPDF Parsing Methods for RAG: Which One for Which Document Soon
ReadingI Tested Pinecone's Chunking Strategies on a Real PDF
7Retrieval
7ARAG Retrieval Is Filtering, Not Search 7BHybrid Retrieval for RAG: Start With Keywords 7CLet an LLM Rank Your RAG Results, and Say Why
7bisContext Engineering for RAG Is Four Inputs to One LLM Call Soon
7terSix RAG Retrieval Mistakes and How to Fix Them Soon
7quaterHierarchical Retrieval for RAG on Long Documents Soon
7quinquiesMost RAG Hallucinations Are Retrieval Failures Soon
7sexiesTable Chunking for RAG: One Chunk per Row Soon
8Generation
8AStructured Output for RAG: Answers You Can Check
8BPrompt Engineering for RAG: Build Each Prompt From Parts Soon
8CRAG Answer Validation: Check Every Citation Against the Source Soon
8bisHow Many Chunks Should RAG Send to the LLM? Soon
8terSeven RAG Generation Patterns That Prevent Hallucinations Soon
8quaterLLM Cascade for RAG: Start With a Cheap Model Soon

Part III · One-document pipelines

9RAG Pipeline for PDFs: From Demo to Production Soon
9bisFour Ways Naive RAG Fails on Real Documents Soon
9terReduce RAG Latency and Cost by Calling the LLM Less Soon
ReadingYour RAG Pipeline Is a Compound AI System ReadingWhat Databricks Gets Right About RAG Evaluation
10Adaptive PDF Parsing for RAG: Pay Only for the Pages That Need It Soon
11How to Follow Cross-References in a RAG Pipeline Soon
12How to Answer 'List All' Questions With RAG Soon
13Agentic RAG as a Workflow, Not an Autonomous Agent Soon
13bisLoop Engineering for RAG: When to Retry and When to Stop Soon

Part IV · From one document to a corpus

14The corpus problem
14AThree Types of Document Collections for RAG Soon
14BMulti-Document RAG for a Folder of Unrelated PDFs Soon
14CMulti-Document RAG for Thousands of Similar PDFs Soon
14DMulti-Document RAG for a Case File Soon

Manifestos

M1Enterprise RAG Should Help Experts, Not Replace Them
M2Prompt, Context and Loop Engineering in RAG Soon
M3Enterprise RAG: 10 Things the Tutorials Get Wrong Soon

Bonus

B00Not Every Document Problem Needs RAG Soon
B1How to Handle Typos and OCR Errors in RAG Soon
B2How to Build an FAQ Chatbot With RAG Soon
B3How RAG Should Say "I Don't Know" Soon
B4RAG Pipeline for Tables in PDF Documents Soon

Word, Excel, PowerPoint and mail join the PDF, each with its own parser. New intents arrive: translate, summarize, compare, proofread.

Part I · Document parsing across the spectrum (Brick 1)

1The format spectrum
2USLM parsing
3Word parsing
4PowerPoint parsing
5Mail parsing
6Excel parsing
7Composite documents
8The cross-format contract

Part II · Pipelines beyond Q&A (document-text intents)

9Typed intents
10Translation
11Summarization
12Comparison
13Redaction
13bProofreading

Part III · Excel as dataset

14Sheet classification
15Multi-table sheets
16SQL agent
17Workbook schema
18Stats summary
19Dataset intents
20Table diff

Part IV · Routing intents across mixed-format dossiers (the grouping ontology)

21Grouping ontology
22Hierarchical indexing
23Group Q&A
24Group production

Part V · Operating Volume 2 in production

25Code architecture
26Multi-format corpus
27Validation & lineage
28Validation tests

Companions

A01Migrating from Volume 1

The document is no longer just read, it is produced: a form filled, a table generated, a file rewritten. A catalog of tools the engine knows how to call.

Part I · Tools

1What is a tool
2Documenting a tool
3The deterministic catalog
4LLM-augmented tools
5The conversion problem
6Scanned PDF to Word
7Format conversion
8Production question parsing
9Tool routing
10Retrieval as a tool

Part III · The 360 assistant

11The typed plan
12Step-by-step execution
13Walkthrough: scanned PDF
14Walkthrough: regulatory form
15Walkthrough: renewal briefing

Part IV · Governance

16Rendering with provenance
17Tool security
18The safety UI
19GDPR on outputs
20Output evaluation

An agent picks its actions, remembers what it did, and leaves a readable trail. Glass box: every step is verifiable and replayable.

Part I · The glass-box agent on top of the bricks

1The glass-box agent
2Methodology over model
3The reasoning chain
4Two-phase progression

Part II · Architectural moves 2026 added on top of V1

5The multi-agent pivot
6Planner / generator / evaluator
7Runtime tool-pulling
8Parallel sub-agents

Part III · Memory and learning

9The three memory types
10Multi-scope memory
10bisSession memory
11Memory as decisions
12Memory drift

Part IV · Bounded autonomy and the audit layer

13The silent ten percent
14Bounded autonomy
15The trace table
16The dispatcher contract
17Per-decision evaluation
18The review queue
19Auditing multi-agent

Part V · Frontiers and production

20Long-running agents
21Tenant safety
22The compliance interface
23Cost & chatbot UX
24Agentic onboarding
24bisOnboarding across sectors

Bonus

B01The SQL agent continuum
B03Tool calling demystified

One engine, a park of apps: one gesture per app, the same parse behind all of them, and a logbook that says why a field came out empty.

Part I · The hub

1You have the library, nobody can use it: the front is the missing half of document AI
2Parse once, use everywhere: the thirty-line dispatch behind a park of document apps
3Why is this field empty? The logbook view that answers it without a debugger

Part II · The apps, format by format

6Stop asking for the name: the app that reads your documents first and asks only what none of them can say

A local workstation that indexes a scanned folder and answers offline. Data that never leaves the machine.

The outline of this volume is being written.

The server edition, multi-tenant: storage, authentication, billing. The same engine, run at scale.

The outline of this volume is being written.