struct OpenAI::ModerationResultCategoryScores
- OpenAI::ModerationResultCategoryScores
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Extended Modules
- JSON::Schema
Defined in:
openai/api/moderation.crConstructors
Instance Method Summary
-
#harassment : Float64
The score for the category 'harassment'.
- #harassment_threatening : Float64
-
#hate : Float64
The score for the category 'hate'
- #hate_threatening : Float64
- #self_harm : Float64
- #self_harm_instructions : Float64
- #self_harm_intent : Float64
-
#sexual : Float64
The score for the category 'sexual'.
- #sexual_minors : Float64
-
#violence : Float64
The score for the category 'violence'.
- #violence_graphic : Float64