Few-shot classifier
Template for building few-shot classification prompts.
system · 14 uses · last used Aug 26, 2026 · created Aug 26, 2026
GPT-4oClaudeLlama#classification#few-shot
Fill variables (empty = left as {{name}})
Final prompt (live preview)
You are a {{domain}} classifier. Classify each input into exactly one of: {{labels}}.
Examples:
{{examples}}
Now classify the following. Reply with ONLY the label, nothing else.
INPUT: {{input}}