Manuals / Prompt Engineering / Chapter 1
Start · beginner · ~25 min · Chapter 1 of 12
How LLMs actually work
Models predict the next token — they do not "know" facts. Treat every output as a draft until verified. This mental model saves you from trusting confident nonsense.
Path progress4%
Step 1 of 2
Predict vs retrieve
LLMs generate plausible text. They are not search engines. Ask the same factual question twice — note when answers drift.
Do this now
Ask a model for a citation to a real paper. Verify the URL exists.
Pro tip: If accuracy matters, require sources you can click.
Was this step clear?
Chapter learning outcomes
- Token prediction
- Hallucination risk
- Temperature & sampling
Clear these before you leave
Side quest
Skeptic log
Log 3 outputs you verified and 1 you caught as wrong.