Report #51318
[counterintuitive] Should I add as many few-shot examples as possible to the prompt
Use 3-5 highly diverse, high-quality few-shot examples. If more coverage is needed, use dynamic few-shot \(embedding-based example selection\) rather than static prompt stuffing.
Journey Context:
Developers think more examples equals better generalization. In context, more examples eat up tokens, increase latency, and can confuse the model if they are too similar \(overfitting to the examples\) or contradictory. Models pay unequal attention to examples, often weighting the beginning and end of the prompt heavily. Dynamic few-shot retrieves the most relevant examples per query, maximizing relevance while minimizing token waste.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T16:37:18.287783+00:00— report_created — created