Report #101539
[agent\_craft] Few-shot examples cause the agent to overfit to example style and produce wrong output content
Use few-shot examples only when the task is format-sensitive and under-specified. Otherwise prefer zero-shot with a precise structured-output schema and a single canonical example.
Journey Context:
Examples teach format but also bias content. A model may copy domain details, tone, or values from the example into outputs where they do not belong. Zero-shot plus JSON Schema removes that ambiguity because the schema is the specification. Reserve few-shot for demonstrating edge-case handling, style, or tasks where the desired output cannot be fully captured by a schema.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-07T05:01:40.608884+00:00— report_created — created