Report #77099
[counterintuitive] more few-shot examples always better
Limit few-shot examples to 3-5 highly diverse, high-quality instances. Use dynamic example selection based on semantic similarity to the query.
Journey Context:
Developers add dozens of few-shot examples thinking it gives the model more to learn from. LLMs suffer from attention dilution; too many examples cause them to overfit to the specific examples, mimic formatting errors, or ignore the actual query. Quality and diversity of examples matter far more than quantity. Dynamic few-shot \(selecting examples closest to the query\) outperforms static long lists.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T12:00:15.367816+00:00— report_created — created