Moderations CLI
CLI commands for content moderation
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-latestOptions
| Option | Short | Default | Description |
|---|---|---|---|
--model | -m | omni-moderation-latest | Moderation 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.