Rachis

Can you send the whole document?

15 November 2026, updated 28 November 2026

Part 1 of 7: Start here

Should your application include a whole document each time someone asks a question about it? When the full text fits alongside the question, the instructions and room for the reply, that is a reasonable starting point. But fitting is only the first check. You also need to check whether the document contains the evidence the question needs, and whether the answer uses it correctly.

Those checks help you decide whether to keep including full documents or start selecting passages. They matter because an answer can sound complete while missing the single clause that changes it, such as an exception to a rule.

When your application answers a question about a document, it builds a request for a large language model (LLM). The request contains the question and the material the model should use to answer it. The simplest version includes the document's full text, and the alternative is to include only selected parts. If a needed clause is missing from the request, the request gives the model no evidence of it.

A request has a size limit. The model's context window is the amount of text it can handle in one exchange, counted in tokens (small pieces of text, often a word or part of a word), and the limit varies by model. One provider's documentation explains that the system prompt, the messages, any documents and the model's reply all count toward that limit. A document's full text fits when it leaves room for everything else in the request and for the reply.

The same documentation cautions that more context is not automatically better, so fitting is a minimum, and how well the model uses the text is something to check.

Start with all the material the answer needs

Take a gym member who uploads their membership agreement and asks whether they can cancel. They joined four days ago. The agreement requires 30 days' notice, and it also allows cancellation within seven days, effective immediately and with a full refund.

The agreement is short, so the request can contain its full text followed by the member's question. The model then sees both rules. The notice rule alone says the member must wait before the cancellation takes effect. The exception changes the answer, because the member is still inside the cancellation period.

Including the full text also means the app does not have to decide in advance which clauses matter, and the wording around them stays in place to explain how they relate.

When the relevant material is manageable, put all of it in the request, then check whether the answer uses it correctly.

A single agreement may not be everything the answer needs. If a separate amendment changes its terms, the agreement alone is incomplete evidence, even if it fits comfortably.

Check everything the app sends

Before deciding that a document fits, compare the model's documented limit with everything your application puts in the request: the standing instructions that govern its answers, the document's full text, the current question and whatever earlier conversation the app includes. The reply needs room too, because it shares the same context window.

Run this check on realistic requests: the agreement with a short question, and again after a long conversation with several other documents attached.

Also think about growth. Users keep adding documents and the app may keep earlier messages, so a request that fits at the start of a session may not match what the app builds later.

A public report dated 26 February 2026 describes an agent, a program in which a model works through a task in steps, overflowing its context. It forgot its initial steps and repeated its first step. This is one builder's report, with no measure of how often this happens. It shows why longer sessions need checking as well as the first exchange.

Check whether the answer uses what you sent

A request that fits does not guarantee that the answer uses everything in it. If an answer overlooks an exception that is in the document, look at how the model uses the material you supplied before concluding that more input would help.

In the gym case, a useful check is whether the answer recognises that the member is four days into a seven-day cancellation period, explains why that means immediate cancellation and a full refund, and relies on a passage that supports that conclusion.

Try questions whose supporting text sits in different parts of your actual documents. Keep the questions and the expected supporting passages, so you can repeat the checks after changing what the app sends. This gives you repeatable evidence about whether including full documents works for your users.

When the relevant material no longer fits

Now suppose the gym keeps a large policy manual and several amendments, and together they exceed the context window. A member asks the same cancellation question. The manual contains the notice rule, and one amendment contains the cancellation exception.

If the request contains only the manual, it gives the model no evidence of the exception. It can repeat the notice rule even though the omitted amendment changes the answer for this member. The request has to include the evidence that determines the answer.

This question needs only a subset: the manual and the one amendment that applies to it. Before moving to individual passages, check whether that subset fits in one request. If it does, including those two documents in full is the same starting point as before, applied to fewer files.

Leaving out a document is reasonable only if it does not remove information the answer depends on.

Start by including the full text when the complete request fits. Then run your own questions through it, including the ones where a single clause changes the answer, and inspect whether each answer accounts for that clause. Keep full documents for as long as the answers hold up. When the evidence the answer needs no longer fits, the question changes: what should the model read, and how will the app avoid leaving out the part that changes the answer? That is where the next piece begins.

Join the waitlist: one email when there is something to try.

Read the pain map: Retrieval and citations.