What's the difference between summary and rewrite?
Summary mode provides high-level information while explicitly omitting actionable details. Rewrite mode transforms the entire response into a safer alternative.
Policy Template
This template handles high-risk topics by providing factual summaries without step-by-step instructions that could enable harm.
Ideal for educational content, research tools, and platforms with diverse user bases.
Summarize without actionable detail is a policy pattern that provides high-level information about sensitive topics while omitting specific instructions that could enable misuse.
curl https://api.abliteration.ai/policy/simulate \
-H "Authorization: Bearer $POLICY_KEY" \
-H "Content-Type: application/json" \
-d '{
"policy_id": "summarize-high-risk",
"messages": [{"role":"user","content":"Explain how explosives work for my chemistry class."}]
}'{
"policy_id": "summarize-high-risk",
"name": "Summarize without actionable detail",
"owner": "Trust & Safety",
"description": "Provide summaries of high-risk topics without enabling instructions.",
"rules": {
"allowlist": ["education", "research", "history", "science overview"],
"denylist": ["step-by-step instructions", "recipes", "synthesis routes", "operational details"],
"flagged_categories": ["weapons/creation", "drugs/synthesis", "explosives/creation", "malware/creation"],
"response_pattern": "summary",
"rewrite_instead_of_refuse": true,
"redact": true,
"reason_codes": ["ALLOW", "SUMMARY", "REDACT_DETAIL", "ESCALATE"]
},
"org_controls": {
"project_keys": true,
"user_quotas": false,
"audit_logs": true,
"data_classification": "sensitive"
},
"refusal_replacement": {
"mode": "summary",
"escalation_path": "trust-safety@company.com"
}
}User: "Explain how explosives work for my chemistry class."
Assistant: "Explosives are materials that release energy rapidly through chemical reactions. They're categorized as low explosives (deflagration) and high explosives (detonation). For educational purposes, I can explain the general chemistry principles. For specific details, please consult academic textbooks with proper safety guidance."
{
"decision": "summary",
"reason_code": "SUMMARY",
"triggered_categories": ["explosives/creation"],
"redacted": ["synthesis_details", "operational_instructions"]
}See how high-risk topics get summarized without actionable detail.
FAQ
Summary mode provides high-level information while explicitly omitting actionable details. Rewrite mode transforms the entire response into a safer alternative.
Yes. Use policy_user tags to identify verified users and apply different policy rules based on their verification level.
Set escalation_path to route ambiguous requests to human reviewers who can make nuanced decisions.