struct OpenAI::ContentFilterResults
- OpenAI::ContentFilterResults
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Extended Modules
- JSON::Schema
Defined in:
openai/api/chat.crConstructors
- .new(hate : Hate | Nil, self_harm : SelfHarm | Nil, sexual : Sexual | Nil, violence : Violence | Nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #clone
- #copy_with(hate _hate = @hate, self_harm _self_harm = @self_harm, sexual _sexual = @sexual, violence _violence = @violence)
- #hate : Hate | Nil
- #self_harm : SelfHarm | Nil
- #sexual : Sexual | Nil
- #violence : Violence | Nil
Constructor Detail
def self.new(hate : Hate | Nil, self_harm : SelfHarm | Nil, sexual : Sexual | Nil, violence : Violence | Nil)
#
Instance Method Detail
def copy_with(hate _hate = @hate, self_harm _self_harm = @self_harm, sexual _sexual = @sexual, violence _violence = @violence)
#