Report #82815
[counterintuitive] Using few-shot examples as the primary method to teach a model a new output format
Use zero-shot instructions combined with structured output schemas \(JSON mode/Structured Outputs\), adding examples only for complex edge-case logic that text cannot describe.
Journey Context:
Few-shot prompting was essential when models struggled with zero-shot instruction following. Today, modern models have excellent zero-shot compliance. Few-shot examples often constrain the model to the exact style and length of the examples, limiting its ability to generalize or use its native reasoning. It also consumes context window and increases latency. JSON schemas enforce format perfectly without style bleed.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T21:35:38.818383+00:00— report_created — created