Knew it, read it, or guessed? The reply looks the same.
- Score
- 0
- Case
- 1/4
Where does the answer have to come from?
What is the capital of Australia?
Tap where you think the answer has to come from.
It needs the source. +100
- Asked cold, it saysMelbourne
- With the source pasted inCanberra
Cold, it guessed wrong. With the source in front of it, it got it right. Same AI; it only needed something to read.
Source
Checked against Canberra, revision 1382572761. Of the four answers, cold it gave the right one 19% of its vote; with the source, 98%.
Give it something to read
- Cold
- With a source
- A sum
You type
The capital of India is New Delhi.
The capital of India is ___
- New Delhi5%
- Mumbai75%
- Kolkata2%
- Bangalore18%
Asked cold, it says “Mumbai”. It guessed.
Guessed, looked up, or calculated?
Next time you use ChatGPT
Ask where the answer came from.
- Instead of
- What is 18% GST on ₹2,340?
- Try
- Use code to work out 18% GST on ₹2,340, and show the calculation.
+What is actually going onHow does a text predictor 'run' anything?It does not. It writes out a request to call a tool, and a program around it does the running.
The model still only produces text. What changed is that some of that text is addressed to a program rather than to you: a call, with arguments. The surrounding system spots it, runs the real search or the real code, and pastes the result back into the context. Then the model reads its own context again, which now holds a genuine answer, and writes your reply.
Yao and colleagues formalised the loop as reason, act, observe, repeat, which is the skeleton of nearly every “agent” on the market. Schick and colleagues made the case for why you would bother: models are weak at arithmetic and lookup, and those are exactly the jobs tiny ordinary programs have always done perfectly.
One consequence people miss: the tool’s output lands in the same context window as your conversation, and takes up the same room. Attaching a huge file does not give the model more space. It spends the space you had.
Take it apart yourself: How an LLM answersPlinko · 8 min. Optional.
+What is actually going onIf it searched, is the answer safe?Safer, and not safe. Retrieval fixes staleness. It does not fix summarising.
Retrieval is the idea Lewis and colleagues published in 2020. It fetches real passages and puts them in the context before the model writes. That genuinely fixes the stale-knowledge failure, and it is why a searched answer can carry a link at all.
What it does not fix is the sentence the model then writes about those passages. It can overstate, merge two sources, or attach a real link to a claim the page never made. So the check is not “is there a citation”. It is “does the citation say this”. Open one link. It takes seconds and it catches the failure that survives every other precaution.
Take it apart yourself: Context is everythingContext Budget · 7 min. Optional.
+Watch somebody explain itA long talk, but the best account of what tools add to a model.
Optional: watch someone explain it
Intro to Large Language Models
Andrej Karpathy
A long talk, but the best account of what tools add to a model.
+Go and try this on a real assistantAsk the same question twice, one with a tool.
Go and try this
Ask the same question twice
Pick something that has changed recently in your field: a price, a version number, a rule. Ask an assistant with search turned off, and keep the answer.
Now ask the same question with search on, and ask it to name its source.
What to watch for: How similar the two answers look. The guessed one is not vaguer or more hesitant. That is the whole problem. Then open the link on the searched one and check it says what the answer claims.
+Check yourselfTwo beats. It marks itself, and nothing is sent anywhere.
Which door does each request need?
Tap an item, then tap where it belongs. Dragging works too.
What is actually happening when a model 'uses a tool'?
Sources
- Toolformer: Language Models Can Teach Themselves to Use Tools
Schick et al. (arXiv:2302.04761, 2023)
The statement of the problem this module is about: models struggle at arithmetic and factual lookup, where far simpler programs excel. The fix is to call those programs.
- ReAct: Synergizing Reasoning and Acting in Language Models
Yao et al. (arXiv:2210.03629, 2022)
The interleaved reason-then-act loop that nearly every 'agent' you will meet is built on.
- Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
Lewis et al. (arXiv:2005.11401, 2020)
The method behind 'it searched and then answered', and the reason a retrieved answer can be attributed to a source.
- Tool use overview
Anthropic developer documentation
A vendor's own description of the mechanics: the model emits a request to call a tool, and something outside it runs the tool.
- [1hr Talk] Intro to Large Language Models
Andrej Karpathy
A long talk, and the clearest account of what tools add to a model.