Topic 3 of 4 · 5 min read
Filling gaps with search and files
Goal: Choose web search, attached files or a connector for a knowledge gap and confirm the answer used them.
You fill a knowledge gap by handing the model the facts: web search for new public facts, an attached file for your own document, a connector for company sources, and then you check which of them the answer used.
Check yourself · 1 of 3
You need today's price of a product from a shop's website. Which fix fits best?
Why it matters
A model is not able to look things up on its own. Unless a tool is switched on, it answers from memory only. The major assistants now offer ways to give it facts: ChatGPT, Claude and Gemini can search the web and show links to the pages they used, and they accept uploaded files. Microsoft 365 Copilot can work with a company's own mail, files and meetings. Which one you need depends on the gap.
Pick the tool for the gap
- New public facts (news, prices, versions, laws): turn on web search. Ask for sources.
- Your own document (a contract, a report, meeting notes): attach the file, or paste the relevant part. Tell the model to answer from it.
- Company-wide knowledge (many files, a wiki, shared mail): use a connector or work tool that is set up for your company, if your organisation has one.
- A tiny gap (one number, one name): just type it into the prompt.
Then check that it was used
Giving a source does not guarantee that the answer used it. After the reply:
- Look for citations or links. Open one or two and check that the page says what the answer claims.
- Ask: "Which parts of your answer came from the attached file, and which from your own knowledge?"
- Ask the model to quote the exact sentence it relied on. If it cannot, treat the claim as unsupported.
- If search was meant to be on and no links appear, it may not have searched.
Before and after
Before: "What changed in the EU's latest AI rules?" Search is off. The model describes rules as it last learned them.
After: "Search the web for the latest official guidance on the EU AI Act. Summarise what changed, give the link for each point, and say if a point comes from your memory instead of a source." The answer now carries links you can open and a clear split between sourced and remembered.
What goes wrong
- Forgetting to turn search on. The model answers from memory and sounds the same.
- Trusting a link without opening it. A cited page may not say what the answer claims.
- Attaching a long file and assuming it was all read. Details in the middle can be missed. Ask for quotes.
- Searching weak sources. Search finds forum posts as easily as official pages. Ask for primary sources.
Examples
Matching the gap to the fix
- "What is the current price of our competitor's pro plan?" Turn on web search and ask for the pricing page link.
- "Summarise the risks in this supplier contract." Attach the contract.
- "What did the team decide about the Lyon launch in last month's meetings?" Use a company connector, if your organisation provides one, or paste the notes.
- "Our deadline is 14 February." Just type it.
Checking that the file was used
Prompt: "Using only the attached lease, can I sublet my flat?"
Reply: "Yes, subletting is allowed."
Follow-up: "Quote the exact clause."
If the model quotes a clause, check it. If it cannot, or the clause says subletting needs the landlord's written consent, the first answer was a guess.
Key points
- Web search fills gaps in new public facts, attached files fill gaps in your own documents, and connectors cover company sources.
- A tool being available does not mean the answer used it, so look for links, quotes or a stated split between sources and memory.
- Open at least one cited page and confirm it says what the answer claims.
- Ask the model to quote the exact sentence it relied on, and treat claims with no quote as unsupported.
- For a tiny gap, typing the missing fact into the prompt is the simplest fix.
Common mistakes
- Assuming web search or file reading is on when it is off, so the answer comes from memory.
- Accepting citations without opening them, when a link may not support the claim.
- Attaching a file but not telling the model to answer from it, so it mixes the file with its own memory.
- Using an unreliable page as the source when a primary or official source exists.
Check yourself · 2 of 3
The assistant answers a question about your attached contract. What is a good next check?
Check yourself · 3 of 3
A reply cites three web links. Which action best confirms that the answer is reliable?
Practice items, not counted towards your mastery.
Start here
- Models overview with training cutoffs (Claude docs) (opens in a new tab)DocsFree
Shows that each model lists its own training data cutoff, so you can see how far behind a model is.
- Searching the web with ChatGPT (OpenAI Help Center) (opens in a new tab)DocsFree
Explains when ChatGPT searches the web and how its answers link to sources you can open.
- Enable and use web search (Claude Help Center) (opens in a new tab)DocsFree
Shows how to turn web search on in Claude and how to read the citations it returns.
More for this topic
- Grounding with Google Search (Gemini API docs) (opens in a new tab)DocsFree
Explains how Gemini uses search to answer about recent events and cite what it found.