Skip to content

Commit e6277ea

Browse files
authored
Merge pull request #72 from RobertCraigie/robert/update-moderations
Update moderation categories to match docs
2 parents 403fb87 + 26a698a commit e6277ea

File tree

1 file changed

+39
-7
lines changed

1 file changed

+39
-7
lines changed

openapi.yaml

Lines changed: 39 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2682,29 +2682,45 @@ components:
26822682
properties:
26832683
hate:
26842684
type: boolean
2685-
description: Whether the content was flagged as 'hate'.
2685+
description: Content that expresses, incites, or promotes hate based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste. Hateful content aimed at non-protected groups (e.g., chess players) is harrassment.
26862686
hate/threatening:
26872687
type: boolean
2688-
description: Whether the content was flagged as 'hate/threatening'.
2688+
description: Hateful content that also includes violence or serious harm towards the targeted group based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste.
2689+
harassment:
2690+
type: boolean
2691+
description: Content that expresses, incites, or promotes harassing language towards any target.
2692+
harassment/threatening:
2693+
type: boolean
2694+
description: Harassment content that also includes violence or serious harm towards any target.
26892695
self-harm:
26902696
type: boolean
2691-
description: Whether the content was flagged as 'self-harm'.
2697+
description: Content that promotes, encourages, or depicts acts of self-harm, such as suicide, cutting, and eating disorders.
2698+
self-harm/intent:
2699+
type: boolean
2700+
description: Content where the speaker expresses that they are engaging or intend to engage in acts of self-harm, such as suicide, cutting, and eating disorders.
2701+
self-harm/instructions:
2702+
type: boolean
2703+
description: Content that encourages performing acts of self-harm, such as suicide, cutting, and eating disorders, or that gives instructions or advice on how to commit such acts.
26922704
sexual:
26932705
type: boolean
2694-
description: Whether the content was flagged as 'sexual'.
2706+
description: Content meant to arouse sexual excitement, such as the description of sexual activity, or that promotes sexual services (excluding sex education and wellness).
26952707
sexual/minors:
26962708
type: boolean
2697-
description: Whether the content was flagged as 'sexual/minors'.
2709+
description: Sexual content that includes an individual who is under 18 years old.
26982710
violence:
26992711
type: boolean
2700-
description: Whether the content was flagged as 'violence'.
2712+
description: Content that depicts death, violence, or physical injury.
27012713
violence/graphic:
27022714
type: boolean
2703-
description: Whether the content was flagged as 'violence/graphic'.
2715+
description: Content that depicts death, violence, or physical injury in graphic detail.
27042716
required:
27052717
- hate
27062718
- hate/threatening
2719+
- harassment
2720+
- harassment/threatening
27072721
- self-harm
2722+
- self-harm/intent
2723+
- self-harm/instructions
27082724
- sexual
27092725
- sexual/minors
27102726
- violence
@@ -2719,9 +2735,21 @@ components:
27192735
hate/threatening:
27202736
type: number
27212737
description: The score for the category 'hate/threatening'.
2738+
harassment:
2739+
type: number
2740+
description: The score for the category 'harassment'.
2741+
harassment/threatening:
2742+
type: number
2743+
description: The score for the category 'harassment/threatening'.
27222744
self-harm:
27232745
type: number
27242746
description: The score for the category 'self-harm'.
2747+
self-harm/intent:
2748+
type: number
2749+
description: The score for the category 'self-harm/intent'.
2750+
self-harm/instructions:
2751+
type: number
2752+
description: The score for the category 'self-harm/instructions'.
27252753
sexual:
27262754
type: number
27272755
description: The score for the category 'sexual'.
@@ -2737,7 +2765,11 @@ components:
27372765
required:
27382766
- hate
27392767
- hate/threatening
2768+
- harassment
2769+
- harassment/threatening
27402770
- self-harm
2771+
- self-harm/intent
2772+
- self-harm/instructions
27412773
- sexual
27422774
- sexual/minors
27432775
- violence

0 commit comments

Comments
 (0)