Advanced AI · Lesson 4 of 10
Working with long documents
Get accurate answers from long documents and long conversations.
Every AI tool has a limit on how much text it can consider at once, called the context window. Tools differ widely, and free plans often have smaller limits or caps on file uploads. When you go past the limit, or even get near it, the tool may quietly ignore or forget parts. Answers get vaguer and errors rise.
Signs you have hit the limit: the AI forgets an instruction you gave earlier, contradicts itself, or gives general answers about a specific document.
Good habits:
- One job per chat. Start a new chat for a new document or topic.
- Ask for a summary to carry forward. When a chat gets long, ask: "Summarise everything we have decided so far in a form I can paste into a new chat." Then start fresh with that summary.
- Split big documents. Work chapter by chapter. Summarise each part, then combine the summaries.
- Ask for quotes. Tell the AI to quote the exact passage that supports each answer and to say where it is. Then find that passage yourself. If it cannot quote it, do not trust the answer.
- Ask specific questions. "What does section 4 say about notice periods?" works better than "Summarise this contract."
- Say what to do when the answer is not there. Add: "If the document does not say, tell me. Do not use outside knowledge."
Tools built for your own documents. Some free tools are designed to answer only from sources you upload and to show where each answer came from. They suit study notes, reports and manuals well.
A summary is somebody else's reading of the document. For anything that matters, such as a contract, a policy or a medical report, read the key sections yourself.
Example
I have pasted a long document below, between the markers. Answer only from this document. For each answer, quote the exact sentence you relied on and give the section heading. If the document does not answer a question, say "not stated in the document". Do not use outside knowledge.
Questions: [your questions]
DOCUMENT START
[paste]
DOCUMENT END
Your task
Take a long document you need to understand. Ask five specific questions with the prompt above. Find each quoted passage in the original and check that it says what the AI claims. Note how many of the five were accurate.
Try it on paper — Read an amendment alongside the original
Fictional hall guide, section 2: ‘Doors open at 9. Bring your booking email.’ Amendment, section A: ‘For Saturday workshops only, doors open at 10. All entry requirements still apply.’ The draft summary says all events now open at 10.
Write a two-row answer for a Saturday workshop and a Tuesday talk. Beside each time, record the section that supports it. Include the unchanged entry requirement.
Compare your answer
Saturday workshop: 10, section A. Tuesday talk: 9, section 2. Both require the booking email, from section 2, retained by A. The amendment changes one time for one group.
Quick check
Check answer 1
The amount of text the AI can consider at once
Check answer 2
Ask for a summary and continue in a new chat
Check answer 3
9, because the exception covers workshops
Both ‘Saturday’ and ‘workshop’ are conditions of the exception.
Optional browser progress
Your progress
0 of 10 available lessons completed
Progress stores only the course identifier and completed lesson identifiers in this browser. It does not save your answers, prompt text or identity, and it does not sync to another device. Clearing browser data removes it.