Data Classifier

Classify batches of data into custom categories with examples.

2 min read 3.5K views 137 likes
The Prompt
Classify each item below into one of these categories: {categories}.

Rules:
- Use exactly the category names given
- If no category fits, use "Other"
- Output one line per item: `{id}: {category}`

Examples:
{examples}

Items to classify:
{items}

Customize This Prompt

Fill in the variables and the prompt updates automatically.

Example Input

categories: Urgent, Important, Defer, Other, examples: ["Payroll issue: Urgent", "New logo ideas: Defer"], items: [a list]

Example Output

One-line classifications per item using only your category labels, with an Other fallback.

Why This Prompt Works

Worked examples map your judgment onto labels, and the exact-label rule keeps output machine-parseable.

Tips for Best Results

  • Provide examples covering the ambiguous middle.
  • Review classifications on the first batch before trusting it.
  • Add an Other category to avoid forcing bad fits.

Common Mistakes

  • Categories so vague the model must guess.
  • Not including edge-case examples.

Frequently Asked Questions

Can I use this prompt for free?

Yes. Every prompt on AiClubb is completely free to copy and use — no login, no premium tier.

Which AI models work best with this prompt?

This prompt is optimized for Gemini, but it works on any modern model. Test it across models and keep the output you like best.

How do I customize the variables?

Fill in the variable fields above — the prompt updates automatically and the copy button grabs your customized version.

Can I save this prompt?

Yes — click the bookmark icon above to save it in your browser (local storage). Your saved prompts are private to your device.

Skip to content