Summarization patterns for production RAG and agent pipelines: extractive vs abstractive, hierarchical, map-reduce, cost-aware. When to use each and how to evaluate.
Inside the ebook
What you get
Pick between extractive and abstractive summarization by task shape
Use hierarchical summarization to handle documents larger than the context window
Apply map-reduce summarization with chunk-level intermediate summaries
Cap cost with staged summaries and token budgets
Evaluate summaries with reference-free and reference-based metrics
Inside
The four summarization shapes
Extractive: pull sentences, do not hallucinate
Abstractive with grounding checks
Hierarchical summarization for long docs
Map-reduce and refine patterns
Evaluating summaries without ground-truth references