Table of Contents

Enum HarmCategory

Namespace
Glitch9.AIDevKit

Represents the category of harm that a piece of content may fall into. This is used in moderation tasks to classify content based on its potential harm.

public enum HarmCategory

Fields

Dangerous = 7

Dangerous content that promotes, facilitates, or encourages harmful acts.

DangerousContent = 11

Dangerous content.

Derogatory = 2

Negative or harmful comments targeting identity and/or protected attribute.

Harassment = 8

Harassment content.

HarassmentThreatening = 19

Harassment content that also includes violence or serious harm towards any target.

Hate = 9

Hate speech and content. Content that expresses, incites, or promotes hate based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste.

HateThreatening = 15

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.

Medical = 6

Promotes unchecked medical advice.

None = 0

Default value (it's null).

SelfHarm = 13

Content that promotes, encourages, or depicts acts of self-harm, such as suicide, cutting, and eating disorders.

SelfHarmInstructions = 18

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.

SelfHarmIntent = 17

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.

Sexual = 5

Contains references to sexual acts or other lewd content.

SexualContent = 12

Content meant to arouse sexual excitement, such as the description of sexual activity, or that promotes sexual services (excluding sex education and wellness).

SexualMinors = 14

Sexual content that includes an individual who is under 18 years old.

SexuallyExplicit = 10

Sexually explicit content.

Toxicity = 3

Content that is rude, disrespectful, or profane.

Unspecified = 1

Content that is not classified into any specific category.

Violence = 4

Describes scenarios depicting violence against an individual or group, or general descriptions of gore.

ViolenceGraphic = 16

Content that depicts death, violence, or physical injury in graphic detail.