Report #95792
[counterintuitive] Providing 3-5 full few-shot examples just to show the model the desired output format
Use zero-shot with native structured output modes \(JSON Schema, Structured Outputs\) or explicit formatting instructions. Reserve few-shot only for demonstrating complex, idiosyncratic logic that cannot be easily described.
Journey Context:
In the GPT-3 era, few-shot was the primary way to steer model behavior because zero-shot capabilities were weak. Modern models follow formatting instructions perfectly. Using few-shot for format wastes context window, increases latency/cost, and often accidentally constrains the model to mimic the style or limitations of the provided examples rather than solving the specific prompt optimally.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T19:22:15.801374+00:00— report_created — created