Lesson 3 · 6 min
Few-Shot Examples
How many examples, in what order, of what shape.
3–5 examples typically peaks. Make them diverse and structurally identical to the desired output. Put the hardest example last — recency bias means Claude weights it most.
Quick check
Prompt EngineeringSelect all that apply
Which of these maximize prompt cache hit rate? (Select all that apply)
