📝 Prompt

Text Classification Prompt

Build a prompt that reliably tags or categorizes text at scale.

AI & PromptingAnalysis 💾 0 saves by PromptChief Team
Build a prompt to classify text reliably. WHAT I'M CLASSIFYING: [[ITEMS]] (support tickets, reviews, leads, content…) CATEGORIES/LABELS: [[LABELS]] EDGE CASES: [[EDGE_CASES]] Produce: 1. A precise prompt with each label clearly defined (and boundaries between them) 2. Rules for ambiguous items (multi-label? "other"? confidence?) 3. 2–3 examples per tricky label (few-shot) 4. A structured output format (JSON) for easy processing 5. A consistency rule so the same input always gets the same label 6. How to handle inputs that don't fit any label Optimize for running on many items consistently.
Share 𝕏 in LinkedIn WhatsApp Reddit

Use this prompt in one click

Save it, fill in the [[variables]], and inject it straight into ChatGPT, Claude or Gemini with the free PromptChief extension.

Open in Prompt Hub →

← Browse all prompts