Report #47068
[counterintuitive] Providing 3-5 complex few-shot examples to teach a task
Use zero-shot with highly detailed instructions and structured output schemas; reserve few-shot only for nuanced formatting or edge-case handling.
Journey Context:
Few-shot was essential when models had weak instruction-following. Now, modern models follow zero-shot instructions exceptionally well. Few-shot examples consume context window, increase latency, and can cause 'attention dilution' where the model mimics the style of examples but misses the core instruction. Zero-shot with clear schemas is more robust unless the task is highly idiosyncratic.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T09:28:28.855184+00:00— report_created — created