Operations Content Moderation Labeling

Moderation Labeling Prompt for User Content

Safe, Spam, Harassment, Hate, Adult — multi-label policy classification with Strict Other and numeric confidence, built for review queues.

Overview

Moderation is the classification setting with the worst failure costs in both directions: a forced wrong label either censors safe content or publishes harmful content. This setup labels user-generated content against five policy categories in Multiple Labels mode (content can violate two policies at once), under Strict ambiguity — anything that fits no category returns "Other" for human review — with 0–100 confidence per label so the queue can auto-action only the unambiguous cases. The definitions keep adjacent harms apart: Harassment targets a person; Hate targets a group with hostility or discrimination.

How to use this resource

  1. Label, don't action

    The prompt produces labels and confidence — the auto-hide / human-review / publish thresholds live in your system.

  2. Route by confidence bands

    90+ on Safe can publish; 90+ on a harm category can auto-hold; everything else queues for a person.

  3. Keep Other visible

    Content that fits no category is exactly what a policy team needs to see — Strict mode guarantees it surfaces.

Why This Works

  • Multi-label matches how violations actually occur — bundled
  • Person-vs-group definitions keep Harassment and Hate from collapsing into one label
  • Strict Other plus confidence bands builds the human-in-the-loop in, instead of bolting it on

Best for

  • Platforms with a review queue between users and publication
  • Policies where one post can violate two rules at once
  • Teams that need the model to say "unsure" instead of guessing

Not for

  • Final moderation decisions — this labels for a human queue; the action policy is yours
  • Legal-compliance judgments — policy classification is not legal review

Use cases

  • Pre-screening user content before publication
  • Labeling multi-violation content with every applicable category
  • Feeding a human review queue with confidence-ranked items

FAQ

How can one post end up tagged both Harassment and Hate here?

The two definitions overlap deliberately: Harassment is content that attacks, threatens, or demeans a person or group, while Hate is hostile or discriminatory content targeting a person or group. A threat laced with identity-based hostility satisfies both. Running in Multiple Labels mode, the classification returns every label that applies, ordered strongest-first, so a post can legitimately carry both.

What do the 90, 60-89 and below-60 confidence bands actually mean here?

Each label carries a 0-100 score with defined bands: 90 or above is an unambiguous fit, 60-89 is a good fit with some uncertainty, and below 60 marks the best available choice for a shaky call. The prompt states the number is self-reported certainty, not a computed probability, so treat a low band as a queue-for-a-human signal rather than a measured error rate.

Which output format does the moderation prompt return, and can I parse it directly?

It returns one JSON object with a 'labels' array of label/confidence pairs, like { "label": "Spam", "confidence": 64 }, ordered strongest-fit first. The output rules forbid markdown fences or any text around the JSON and require the exact label text with no paraphrasing or abbreviations, so a strict parser plus an allow-list of the five labels and 'Other' will catch drift wherever you run the prompt.

More resources from Data Classification Prompt

Resources that pair well

Related tools

Tip: Save time by exploring related resources and tools that integrate with this resource.