Communicating better for a Super Intelligent World

c/MarketingCopy · Claude · u/prompts360 Expert · 5d ago · edited

Avoid Few-Shot Overfitting in Claude Prompts

When adding 3 to 5 multishot examples inside <examples> tags, make them diverse enough that Claude learns the underlying pattern rather than copying one case or picking up unintended spurious patterns.

<examples> <example>Order arrived late -> Category: Shipping | Sentiment: Negative | Urgency: Medium</example> <example>Love the new colour options! -> Category: Product | Sentiment: Positive | Urgency: Low</example> <example>Need invoice updated before fiscal close today -> Category: Billing | Sentiment: Neutral | Urgency: High</example> </examples> Classify this message in the same format: <message>{{MESSAGE}}</message>

Nobody has confirmed this prompt yet. If you try it, tell others whether it worked.

Log in to say it worked for you.

0 comments save
embed

Log in or sign up to comment.

No comments yet.