563
Dictionary

Moderation

Filtering unsafe input or output before it reaches users.

1 min readupdated 2026-07-04

/ quick answer

Moderation classifies text (or images) against categories like hate, violence, sexual, self-harm. Use it on both user input (block prompt injection) and model output (block leaks and hallucinations). Filtering unsafe input or output before it reaches users.

Filtering unsafe input or output before it reaches users. Moderation classifies text (or images) against categories like hate, violence, sexual, self-harm. Use it on both user input (block prompt injection) and model output (block leaks and hallucinations). In practice: OpenAI's moderation endpoint runs before every generation in a public chatbot. This dictionary node is part of the Onexial knowledge graph and links to related concepts, workflows and tools below.
Definition
Moderation classifies text (or images) against categories like hate, violence, sexual, self-harm. Use it on both user input (block prompt injection) and model output (block leaks and hallucinations).
Example
OpenAI's moderation endpoint runs before every generation in a public chatbot.
/ frequently asked

What is Moderation?

Moderation classifies text (or images) against categories like hate, violence, sexual, self-harm. Use it on both user input (block prompt injection) and model output (block leaks and hallucinations).

What is an example of Moderation?

OpenAI's moderation endpoint runs before every generation in a public chatbot.

Why does Moderation matter for AI and automation?

Filtering unsafe input or output before it reaches users. It connects to the workflows, prompts and tool stacks linked on this page, so you can move from definition to execution without leaving Onexial.

/ topics#ai#safety

/ continue exploring

Related concepts

The vocabulary this page depends on.

  • EU AI Act Compliance

    EU AI Act Compliance refers to adhering to the regulatory framework established by the European Union to govern the development, deployment, and use of artificial intelligence systems within the EU.

  • AI Governance Framework

    An AI Governance Framework is a structured system of policies, processes, roles, and standards designed to guide the responsible, ethical, and compliant development and deployment of artificial intelligence systems within an organization.

  • Guardrails

    Runtime checks that constrain LLM inputs and outputs to keep behavior safe and on-spec.

all dictionary

Related workflows

Turn this into a repeatable process.

  • PII Data Redaction Workflow

    This workflow outlines the systematic process for identifying, extracting, and redacting Personally Identifiable Information (PII) from unstructured and structured data sources to ensure data privacy and compliance.

  • AI Risk Assessment Workflow

    This workflow systematically identifies, analyzes, and evaluates potential risks associated with the development and deployment of Artificial Intelligence systems, guiding mitigation strategies.

  • How to Create a Website with AI

    Go from idea to a live, custom-domain website in one afternoon using AI builders.

  • How to Build an AI Content System

    A repeatable pipeline that turns one input into publish-ready content across every channel.

all workflows

Related tool stacks

The tools that run it in production.

all tool stacks

Comparisons & alternatives

Pick between the options.

all comparisons

Long-form guides on this topic