Included in LaunchLesson 2 of 3·22 min·Last verified December 2, 2026

Ground the AI in your own documents so it stops guessing

An assistant that has never seen your refund policy will still answer a refund question, fluently. Grounding hands it the right passages from your own documents at question time. You decide what goes in and what stays out, how fresh each source must be, and who may see which answers.

Your company in the Lab:
Kate
Kate · CEO of Qahwa Box

Our new baristas ask an assistant about recipes and opening routines, and it sometimes quotes an old version from last year's training folder. How do we make it answer only from the current handbook?

Lesson goal

Ground an assistant in your own documents: choose which files go in and which stay out, set how often each source refreshes and who may see the answers, and require a citation with the document's date.

Grounding: answer from your pages, not from memory

An assistant that has never read your refund policy will still answer a refund question, fluently, from general patterns about how refunds usually work. That is the guess you want to remove. Grounding means that at question time you hand the assistant the right passages from your own documents, and you tell it to answer from them, name them, or say that nothing matched.

In most setups that is retrieval: material relevant to the question is pulled from a knowledge base and added to the prompt1. But you may not need a retrieval layer at all. Anthropic notes that a knowledge base smaller than about 200,000 tokens, roughly 500 pages, can be included in the prompt in full1. Work out which side of that line you are on:

200,000 tokens ÷ 500 pages = 400 tokens a page (rough rule)
Nilelift support handbook: 85 pages × 400 = 34,000 tokens, fits in one prompt
Whole shared drive: 1,900 pages × 400 = 760,000 tokens, needs retrieval

Start with the whole handbook in the prompt when it fits. There is no search step to get wrong, and you can see exactly what the assistant was given. Move to retrieval only when the set outgrows the limit.

Before you trust any setup, write the twenty questions your team really asks, with the right answer and the document it comes from. That list is your yardstick: you run it when you first connect the sources, after every change to them, and when you switch models. A setup that cannot answer fifteen of twenty correctly with a citation is not ready for customers.

Either way, the instruction around the documents does half the work: “Answer only from the passages below. After each answer, name the document and its date. If the passages do not answer the question, say that you did not find it.” The third sentence matters most. Without it, the assistant fills a gap with its best guess, in the same confident voice as a real answer.

Checkpoint · Choose the decision

The whole policy handbook at Qahwa Box is 60 pages. How should the assistant be grounded in it?

Your confidence in the answer:
Choose an answer first

The rest of this lesson is on the Launch plan and up

You have read the scenario and the first section. With Launch or higher you finish the walkthrough and the interactive tool, make the lesson decisions, run its task on your company in the Lab and ask Adam AI. The Free plan includes 2 lessons a week.

Launch from 49 USD a month, or 490 USD a year

Question before you subscribe? Email hello@upgradiq.com