AI Engineering (2026) · RETRIEVAL · Anthropic & OWASP Standard · 2026

Structure-Aware Contextual Chunking + Pre-Retrieval ACLs vs Blind Fixed-Token Splits

Quick Decision Rule: When RAG retrieves isolated table fragments like "Revenue rose 3%" with no document title/quarter context, causing wrong answers across company reports, choose Chunk along semantic/heading boundaries, prepend concise document/section context (Contextual Retrieval), and enforce ACL metadata filters before vector search.

Trigger ConditionRAG retrieves isolated table fragments like "Revenue rose 3%" with no document title/quarter context, causing wrong answers across company reports
Recommended ChoiceChunk along semantic/heading boundaries, prepend concise document/section context (Contextual Retrieval), and enforce ACL metadata filters before vector search
Classic TrapBlind fixed-500-token slicing chops tables and sentences mid-thought, stripping the parent entity/date context needed for accurate retrieval.
VerificationAudited on 2026-11-23 · Anthropic & OWASP Standard · 2026

30-SECOND DECISION TRAP CHECK · RETRIEVAL

Test your instinct

Your RAG pipeline splits quarterly PDFs into blind 400-token slices. When an analyst asks "What was ACME Corp’s Q3 2026 operating margin?", the vector DB retrieves a chunk saying "Operating margin rose 4.2%"—from a different company in 2024! How do you fix this?

Primary Engineering Documentation

Related Retrieval Decision Guides