Skip to content

IntermediateLesson 1 of 59 min read

A long document: better to split it up than to hand it all over at once.

A course from the Academy: Working on your documents

Go to the quiz ↓

The instinct is to paste everything in at once. That's what produces the most disappointing results, and for a specific reason.

Why the middle gets lost

Even when a document technically fits within the context window, the model's attention isn't evenly distributed. The beginning and end are handled well, the middle gets skimmed over. The phenomenon is well-known and measured: in a long text, information placed in the centre is retrieved significantly less well than at the extremes.

Direct consequence: "summarise this 120-page report" produces a summary that mostly reflects the introduction and conclusion. That's often exactly what the author wanted you to take away, not what you're looking for.

The method that works

One chapter at a time, in separate conversations or with clear sequencing. You get a summary per section, and you assemble them afterwards. It takes ten minutes longer, and the result is on another level.

For a document whose structure you don't know, start with: "Just give me the detailed outline, without summarising the content." You'll then know what to break up.

Search rather than summarise

Often, you don't want a summary but an answer. "In this document, what does it say about termination deadlines? Quote the exact passages." The "quote the exact passages" is essential: it lets you verify, and it sharply reduces fabrication.

What to do now

Take a long document. First ask for the outline, then query it on a specific point while demanding citations.

Key concepts

Complete the lesson

A 4-question quiz: 3 correct answers are enough, plus an exercise to practise. It opens in the Academy, on this same lesson.

Take the quiz and complete the lesson Free. With an account, your progress is saved and leads to the course certificate.

The course: Working on your documents

  1. A long document: better to split it up than to hand it all over at once.9 min
  2. Tables and figures: a minefield9 min
  3. Compare two versions of the same document.8 min
  4. Extracting data from a stack of documents8 min
  5. Building reusable prompts7 min

The whole Academy →The AI glossary