Content Safety
Guardrails that moderate toxic, abusive, biased, off-topic, or over-cautious content.
Part of Agent Guard. Each entry notes whether it runs on input (user prompts and tool requests), output (model and tool responses), or both.
Toxicity Guardrail
Identifies offensive, abusive, or harmful language in user inputs.
Input and output
What it catches
Profanity and vulgar language
Personal attacks and insults
Hate speech
Threatening language
Sexually explicit content
Use cases
Content moderation in chat applications
Professional communication enforcement
Community guideline compliance
Example
"You are stupid and worthless!"
Blocked
Messages with profanity or hate speech
Blocked
"This is disappointing" (negative but not toxic)
Allowed
Performance: ONNX-optimized for real-time toxicity detection.
On outputs: Identifies offensive, harmful, or inappropriate content in AI-generated responses.
Output example
AI responses containing insults or profanity
Blocked
Prevents aggressive or harmful suggestions
Maintains professional tone
Profanity Guardrail
Detects and redacts offensive, abusive, or inappropriate language from inputs and outputs.
Input and output
What it does
Identifies profanity and abusive language
Redacts offensive words or phrases
Supports custom word and phrase filtering
Applies filtering across user inputs and model responses
Use cases
Content moderation for user interactions
Blocking abusive or toxic language
Enforcing brand-safe communication
Filtering organization-specific restricted words
Example
Input
"You are a stupid idiot"
Configured Custom Word
"idiot"
Filtered Output
"You are a stupid [REDACTED]"
Sentiment Guardrail
Analyzes emotional tone and sentiment in user messages.
Input and output
What it catches
Extremely negative sentiment
Positive sentiment (if threshold set)
Neutral sentiment
Emotional intensity
Use cases
Customer satisfaction monitoring
Escalation triggering for angry customers
Sentiment-based routing
Example
"I absolutely hate this! Worst experience ever!"
Flagged
Configurable threshold for negative/positive detection
Risk scoring based on sentiment intensity
On outputs: Analyzes emotional tone in AI-generated responses.
Output example
Overly negative AI responses
Flagged
Configurable sentiment thresholds
Tone analysis and scoring
Bias Guardrail
Detects discriminatory, biased, or unfair content in AI responses.
Output
What it catches
Gender bias
Racial/ethnic bias
Age discrimination
Religious bias
Stereotyping
Unfair generalizations
Use cases
Fairness enforcement
HR application safety
Inclusive AI systems
Example
"Women are naturally better at nursing"
Blocked
Gender stereotypes in career recommendations
Blocked
Racially insensitive generalizations
Flagged
Performance: ONNX-optimized machine learning model.
Relevance Guardrail
Ensures AI responses are relevant and on-topic to user queries.
Output
What it catches
Off-topic responses
Irrelevant information
Context drift
Hallucinated tangents
Use cases
Quality assurance
Hallucination detection
Response validation
Example
User asks
"What is the capital of France?"
Good response
"The capital of France is Paris"
Blocked response
"Bananas are yellow and monkeys like them" (irrelevant)
Performance: ONNX-optimized for quick relevance checking.
NoRefusal Guardrail
Detects when AI inappropriately refuses to answer legitimate queries.
Output
What it catches
"I can't help with that" responses
Unnecessary refusals
Over-cautious denials
False safety triggers
Use cases
User experience optimization
False positive detection
AI behavior monitoring
Example
"I cannot assist with that request" (when request was legitimate)
Flagged
Identifies over-cautious AI behavior
Helps tune AI safety boundaries
Performance: ONNX-optimized for fast refusal detection.
Last updated