struct
OpenAI::ModerationResultCategories
- OpenAI::ModerationResultCategories
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Extended Modules
- JSON::Schema
Defined in:
openai/api/moderation.crConstructors
Instance Method Summary
-
#harassment : Bool
Content that expresses, incites, or promotes harassing language towards any target.
-
#harassment_threatening : Bool
Harassment content that also includes violence or serious harm towards any target.
-
#hate : Bool
Content that expresses, incites, or promotes hate based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste.
-
#hate_threatening : Bool
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.
-
#self_harm : Bool
Content that promotes, encourages, or depicts acts of self-harm, such as suicide, cutting, and eating disorders.
-
#self_harm_instructions : Bool
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.
-
#self_harm_intent : Bool
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 : Bool
Content meant to arouse sexual excitement, such as the description of sexual activity, or that promotes sexual services (excluding sex education and wellness).
-
#sexual_minors : Bool
Sexual content that includes an individual who is under 18 years old.
-
#violence : Bool
Content that depicts death, violence, or physical injury.
-
#violence_graphic : Bool
Content that depicts death, violence, or physical injury in graphic detail.
Constructor Detail
Instance Method Detail
Content that expresses, incites, or promotes harassing language towards any target.
Harassment content that also includes violence or serious harm towards any target.
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 harassment.
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.
Content that promotes, encourages, or depicts acts of self-harm, such as suicide, cutting, and eating disorders.
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.
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.
Content meant to arouse sexual excitement, such as the description of sexual activity, or that promotes sexual services (excluding sex education and wellness).
Content that depicts death, violence, or physical injury in graphic detail.