Moderations CLI

CLI commands for content moderation

Overview

Check content for policy violations from the command line.

Commands

Basic Moderation

bash
praisonai moderate "Hello, how are you?"

With Model Selection

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

Options

OptionShortDefaultDescription
--model-momni-moderation-latestModeration model

Examples

bash
# 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.