Skip to main content

Overview

Check content for policy violations from the command line.

Commands

Basic Moderation

praisonai moderate "Hello, how are you?"

With Model Selection

praisonai moderate "Check this content" --model omni-moderation-latest

Options

OptionShortDefaultDescription
--model-momni-moderation-latestModeration model

Examples

# Check safe content
praisonai moderate "Have a nice day"

# Check multiple texts
praisonai moderate "Hello world"

Output

The command outputs whether the content was flagged and the categories detected.