CeberusText

One API for text safety.

Ceberus has you covered to keep your apps, chat rooms, forums, or LLM text generation safe
# Initialize the Ceberus client with your policy
ceberus_client = CeberusClient(policy)

# Check text for policy violations
result = ceberus_client.check_text("Input text")

Demo

Step 1:Craft your policy

Prohibited Examples
racial slurs
discriminatory language
calls for violence against groups
Prohibited Examples
explicit threats of harm
encouragement of self-harm or suicide
content celebrating or justifying violence

Step 2:Refine no-tolerance terms

darn
stupid
idiot
shut up
hate
dumb
loser
annoying

Step 3:Try calling the API