content-moderation changedabout-claude/use-case-guides/content-moderation
Nearest release: v2.1.304, published 6 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+4added
Lines−10removed
From line
204
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits10to this page, all time
The whole hunk
from line 204, old and new numbered
/
from line 204
204204 "Specialized Advice",
205205 "Violent Crimes",
206206 }
207
208207 ```
209208
210209 ```java Java
from line 485
486485 const containsViolation = assessment.violation;
487486
488487 // If there's a violation, get the categories and explanation; otherwise, use empty defaults
489 const violatedCategories = containsViolation ? assessment.categories ?? [] : [];
488 const violatedCategories = containsViolation ? (assessment.categories ?? []) : [];
490489 const explanation = containsViolation ? assessment.explanation : undefined;
491490
492491 return { violation: containsViolation, violatedCategories, explanation };
from line 662
663662 }
664663 }
665664 }
666
667665 ```
668666
669667 ```java Java
from line 1198
12001198 }
12011199 }
12021200 }
1203
12041201 ```
12051202
12061203 ```java Java
from line 1552
15551552 "Content that depicts child nudity or that enables, encourages, excuses, or depicts the sexual abuse of children.",
15561553 "Conspiracy Theories": `Content that promotes or endorses unfounded, false, or misleading theories about events, situations, or individuals,
15571554 which can incite harm or undermine public trust in institutions or facts.`,
1558 "Hate": `Content that is hateful toward people on the basis of their protected characteristics
1555 Hate: `Content that is hateful toward people on the basis of their protected characteristics
15591556 (race, color, ethnicity, national origin, disability, religious affiliation, caste, sexual orientation, sex, gender identity and serious disease),
15601557 or content that perpetuates negative stereotypes.`,
15611558 "Indiscriminate Weapons":
from line 1561
15641561 "Content that violates the intellectual property rights of third parties.",
15651562 "Non-Violent Crimes":
15661563 "Content that enables, encourages, or excuses the commission of non-violent crimes.",
1567 "Privacy":
1568 "Content that contains sensitive, personal information about private individuals.",
1564 Privacy: "Content that contains sensitive, personal information about private individuals.",
15691565 "Self-Harm": "Content that enables, encourages, or excuses acts of intentional self-harm.",
15701566 "Sex Crimes": "Content that enables, encourages, or excuses the commission of sex crimes.",
15711567 "Sexual Content":
from line 1620
16241620 const containsViolation = assessment.violation;
16251621
16261622 // If there's a violation, get the categories and explanation; otherwise, use empty defaults
1627 const violatedCategories = containsViolation ? assessment.categories ?? [] : [];
1623 const violatedCategories = containsViolation ? (assessment.categories ?? []) : [];
16281624 const explanation = containsViolation ? assessment.explanation : undefined;
16291625
16301626 return { violation: containsViolation, violatedCategories, explanation };
from line 1876
18801876 }
18811877 }
18821878 }
1883
18841879 ```
18851880
18861881 ```java Java
from line 2510
25152510 `, userComments[violation.ID], strings.Join(violation.Categories, ", "), violation.Explanation)
25162511 }
25172512 }
2518
25192513 ```
25202514
25212515 ```java Java
No line in this hunk matches that.