Beyond the model
Follow the boundary between a language model and the software around it: messages, retrieval, tool calls, and evaluation.
By the endTrace where an answer’s information came from and which component performed an action.
Start path: Prompt structure: what the model receives →5 lessons · 30 min total
Mark lessons as read to save your place on this browser.
- 16 MIN READING · Not read yet
Prompt structure: what the model receives
Read the structure wrapped around conversation text.
Read the lesson → - 26 MIN READING · Not read yet
Retrieval: giving the model evidence
Fetch relevant evidence from an external collection.
Read the lesson → - 36 MIN READING · Not read yet
Tool use: letting a system act
Let software execute a structured tool request.
Read the lesson → - 46 MIN READING · Not read yet
Evaluation: measuring the behavior you need
Measure the whole workflow against a defined task.
Read the lesson → - 56 MIN READING · Not read yet
Hallucinations: fluent text without support
Inspect failure modes even when sources are present.
Read the lesson →