struct OpenAI::ModerationResponse
- OpenAI::ModerationResponse
- Struct
- Value
- Object
Overview
Represents policy compliance report by OpenAI's content moderation model against a given input.
Included Modules
- JSON::Serializable
Extended Modules
- JSON::Schema
Defined in:
openai/api/moderation.crConstructors
Instance Method Summary
-
#id : String
The unique identifier for the moderation request.
- #model : ModerationModel
-
#results : Array(ModerationResult)
A list of moderation objects.