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
-
#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
- #self_harm : Bool
- #self_harm_instructions : Bool
- #self_harm_intent : Bool
-
#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
-
#violence : Bool
Content that depicts death, violence, or physical injury.
- #violence_graphic : Bool
Constructor Detail
Instance Method Detail
Content that expresses, incites, or promotes harassing language 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.
Content meant to arouse sexual excitement, such as the description of sexual activity, or that promotes sexual services (excluding sex education and wellness).