Prompt Chains for Long Documents

A long document does not fit in one prompt, and pasting half of it produces confident answers about the half it saw. Chain the work instead: read in pieces, summarise, then answer from the summaries.

Step one: section summaries

Feed one section at a time and ask for a fixed-format summary: main claim, numbers mentioned, open questions. Keep each under 150 words. You now have a map you can hold in one prompt.

Step two: combine

Send the section summaries together and ask for a single outline with the page numbers or section names attached to each point. The page numbers are what let you check the answer later.

Step three: answer the real question

Now ask what you actually wanted to know, with the summaries in context, and require a quote for every claim. Anything it cannot quote, treat as unknown.

Why this beats a bigger paste

  • Every part of the document is actually read.
  • Errors stay local to one section instead of spreading.
  • You can check the summaries against the source in a few minutes.

Keep the intermediate files

Save the summaries. When a question comes up next month you can answer from them without re-reading the document.

FAQ

How big should each piece be?

A few pages, or one chapter. Small enough that the summary is easy to verify.

What about tables?

Convert them to text first, or the numbers get scrambled.

New here? Start with the topics page.

Comments

Popular posts from this blog

System Prompts: Setting the Rules Once

When to Start a New Chat Instead of Continuing

Reviewing AI Output: A Five-Minute Checklist