Make AI answer from your documents
Give AI the source, ask it to stay inside it, then test it.
4 min read · Levels 2–3 · Know the subject
Without your documents, AI answers from general knowledge. That is fine for general questions. It is wrong for your prices, your procedures, your policies and your contracts.
How
Attach the document, or use a tool connected to your files. Some tools search your documents for you; you may hear this called "RAG".
Then add three lines to your request:
Answer only from the attached documents.
Name the section or page you used.
If the answer is not in the documents, write: Not in the documents.
Test it before you trust it
Ask five questions you already know the answers to. Make one of them a question the document can't answer.
If it invents an answer to that one, don't use this setup for real work yet.
Keep documents current
An old price list gives old prices, stated with full confidence. Put the date in the file name. Remove old versions from the tool.
Data rules
Only use documents your organisation allows in your AI tool.
Examples
Attach the product manual and warranty terms. Then ask:
- "How long is the warranty on the standard model?" It should give the period and name the section.
- "Does the warranty cover the new model launched last month?" The terms don't mention it, so the right answer is "Not in the documents".
Try it (10 minutes)
Pick one document you use often. Ask five questions, one of them with no answer in the document. Note how many answers were right and whether it said "Not in the documents".
Common mistakes
- Skipping the test question with no answer.
- Old versions of the document left in the tool.
- Asking it to "use the document and your own knowledge". You can't tell which part came from where.