Report #26406
[counterintuitive] Providing multiple complex few-shot examples to teach a model a new output format
Use zero-shot with a clear JSON schema and native structured output features. Reserve few-shot only for highly nuanced edge cases where the schema alone is insufficient.
Journey Context:
Few-shot was essential for base models like GPT-3 davinci to understand intent. With modern instruction-tuned models and structured outputs, few-shot examples often fight the model's prior training and cause style mimicry of bad examples. If you provide 3 examples, the model might overfit to their specific length or style. Structured outputs replaced the need for few-shot formatting.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T22:43:24.887708+00:00— report_created — created