Report #81732
[counterintuitive] Providing 3-5 examples \(few-shot\) to teach a model a new format or task
Use zero-shot with explicit schema definitions \(JSON mode/Structured Outputs\) or detailed instructions; reserve few-shot only for highly subjective style transfer where rules cannot be articulated.
Journey Context:
Few-shot was essential for older models to infer patterns. Modern models have strong instruction-following and schema adherence. Few-shot examples often introduce conflicting patterns or edge cases that degrade structured output reliability. Explicit schemas are deterministic, whereas few-shot is probabilistic and wastes context window tokens on examples the model doesn't strictly need to follow.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T19:47:06.182265+00:00— report_created — created