AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Enum HarmCategory

    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.

    Namespace: Glitch9.AIDevKit
    Assembly: .dll
    Syntax
    public enum HarmCategory

    Fields

    Name Description
    Dangerous

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

    DangerousContent

    Dangerous content.

    Derogatory

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

    Harassment

    Harassment content.

    HarassmentThreatening

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

    Hate

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

    HateSpeech

    Hate speech and content.

    HateThreatening

    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

    Promotes unchecked medical advice.

    None

    Default value (it's null).

    SelfHarm

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

    SelfHarmInstructions

    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

    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

    Contains references to sexual acts or other lewd content.

    SexualContent

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

    SexualMinors

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

    SexuallyExplicit

    Sexually explicit content.

    Toxicity

    Content that is rude, disrespectful, or profane.

    Unspecified

    Content that is not classified into any specific category.

    Violence

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

    ViolenceGraphic

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

    In this article
    Back to top Generated by DocFX