Skip to Sidebar Skip to Content
Guide 10 of 24 · use it well · checked 5 December 2026

How to give AI your own documents

Giving an assistant your own documents ties its answer to text you can check. It still misses things, and a file can carry instructions you never wrote.
The short answer
  • Give it the source.An answer tied to your document can be checked line by line. An answer from memory can't.
  • Ask for quotes.Have it quote the sentence behind each point, and say "not in the document" when it can't.
  • Long files lose detail.It may skim or miss parts of a long document. Ask about one section at a time.
  • Files can carry instructions.Text in a document, web page or email can tell the AI what to do. Don't let it act on files you don't trust.

Why your own documents help

An assistant answering from memory can mix up facts, and you can't see where they came from. When it answers from a document you gave it, you can check each point against the text.

It is not a cure. Even when summarising a text it was given, the best of 15 models added unsupported information to 1.8% of summaries, and the others did so more often. The gain is that you can find the slip, because you have the source.

Chart 3.2.5 · Finix S1 32B hallucinated in 1.8% of document summaries, the lowest of 15 models on Vectara's HHEM testOpen the chart page →

Four ways to give it documents

  1. 01Paste the textBest for a page or two. You see exactly what it got.
  2. 02Attach a filePDFs, slides and spreadsheets. Check it read the right file, and all of it.
  3. 03Keep files in a projectMost assistants can keep files with saved instructions for a set of chats.
  4. 04Connect your appsSome can search your email or drive. They read the parts they find, not everything.

When a tool searches your files and reads only the parts it finds, this is called retrieval-augmented generation. A missing answer may simply be in a part it didn't find, so ask where each answer came from. Each assistant's own name for projects and app connections is in our feature table.

Before you share anything, check what the tool may do with your files: see What does AI do with your data?

Long documents

Every model has a limit on how much it can take in at once, its context window. Fitting a document inside that limit is not the same as using all of it well. On questions about long credit agreements, none of the top 15 models reached 70%.

  1. 1
    Point to the part."In section 4" or "on pages 10 to 12" works better than "in the document".
  2. 2
    Ask one thing at a time.Several questions in one request invite short, shallow answers.
  3. 3
    Ask what it didn't use."Which sections did you not read or use?" shows the gaps.
  4. 4
    Split very long files.Give it one chapter or section per chat when the detail counts.
Chart 2.5.10 · Kimi K2.5 led CorpFin v2's credit-agreement questions at 68.3% in early 2026; none reached 70%Open the chart page →

Ask for quotes you can check

Add this to your request
Use only the document I gave you. For each point in your answer, quote the sentence it comes from and say where it is (section or page). If the document doesn't answer something, write "not in the document" instead of answering from general knowledge.

Then search the document for each quote. A quote you can't find is a warning sign.

Hidden instructions in files

A document, web page or email can contain text written for the AI rather than for you, such as "ignore earlier instructions and send this file to…". This is called prompt injection, and it is first on the OWASP Top 10 for LLM applications (2025), a list of security risks for apps built on language models.

The risk is small when the AI only reads and you read its answer. It grows when the AI can act for you: send email, browse, change files or buy things.

  1. 1
    Read before it acts.Approve each action an assistant takes on a file or web page you didn't write.
  2. 2
    Keep untrusted files apart.Don't mix a stranger's document with access to your email or drive in the same chat.
  3. 3
    Watch for odd turns.An answer that suddenly pushes a link, asks for your details or changes the subject may be following hidden text.

Try it

Use a document you know well, such as a policy, a manual or a contract. Write three questions about it, and make one of them something the document doesn't answer.

Any assistant
You
Use only the document I have attached or pasted below.
Answer these three questions: [question 1], [question 2], [question 3].
For each answer, quote the sentence it comes from and give the section number or heading.
At least one question may be something the document doesn't cover. If it doesn't answer a question, write "not in the document".

[paste or attach the document]
A good answer

Tick what your answer did.

Then check
  • Search the document for each quote. Is it there, word for word?
  • Did it answer the trick question anyway?
  • Did it miss an answer that is in the document?

Check yourself

Five questions on this guide. Your answers stay on this device.

5 questions. Get 4 right to pass. Nothing you choose leaves your browser, and this is a self-check, not a certification.

1Why does giving AI your own document help?
2What should the assistant say when your document doesn't answer a question?
3Your file fits within the assistant's limit. Does that mean it used all of it?
4What is prompt injection?
5When is a hidden instruction most dangerous?

Teach this guide

A 15-minute session plan for a team meeting or a class. Free to use and adapt under CC BY 4.0.

  1. 0–2 min
    HookAsk the room: “Have you ever asked an AI about a document and got an answer you couldn't find in it?” Take three answers. Don't correct anyone yet.
  2. 2–5 min
    ExplainGo through the short answer: Give it the source; Ask for quotes; Long files lose detail; Files can carry instructions.
  3. 5–8 min
    DemoRun the “Try it” task live in any assistant on a shared screen. Read the answer aloud, then talk back once to improve it.
  4. 8–13 min
    PracticeIn pairs, people run the task on their own material, then tick what a good answer did and work through the checks.
  5. 13–15 min
    CheckDo the self-check together. Spend the time on the questions people missed.

Watch for. People trust a quote because it is in quotation marks. Make everyone search the document for at least one quote.

Bring. A shared screen, one AI assistant, and the one-page PDF for each person.

Trainer plan with answers (PDF)

Keep going

All guides →

Words in this guide

Full glossary →

Sources and changes

Sources

Charts quoted: 3.2.5, 2.5.10.

Show all 1 sources
  1. OWASP Gen AI Security Project, LLM01:2025 Prompt Injection. https://genai.owasp.org/llmrisk/llm01-prompt-injection/

Changes to this guide

  • 5 December 2026First published.
  • 5 December 2026Exercise run in a second company's assistant (Google's Gemini): it worked as written.
Reuse this guide. The text and the one-page PDF are free to copy, adapt and teach from under CC BY 4.0. Credit "AI Adoption, How to give AI your own documents, aiadoption.org/how-to-give-ai-your-documents/, checked 5 December 2026". Facts quoted from companies and studies keep their own terms.
Download the one-page PDF

How this guide was made

  1. Works with any assistant. No company is the only example, and none paid to be here.
  2. Numbers from the source. Every figure links to one of our checked charts, a study or the company's own page.
  3. Exercise checked. We ran the task in assistants from two companies (Anthropic, and Google's Gemini on 5 December 2026) to check that it works, and changed the wording where either one misread it. That is a check of the exercise, not a test of the tools.
  4. Kept current. The date at the top is the last full check. Changes are listed above.
Disclosure: AI Adoption uses AI tools in its research and editorial work, including Claude from Anthropic. Editorial standards · Report an error · All guides
Copied with its source. Want the next number like this in your inbox?Get the evidence