struct OpenAI::ContentFilterResults

Included Modules

Extended Modules

Defined in:

openai/api/chat.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(hate : Hate | Nil, self_harm : SelfHarm | Nil, sexual : Sexual | Nil, violence : Violence | Nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(hate _hate = @hate, self_harm _self_harm = @self_harm, sexual _sexual = @sexual, violence _violence = @violence) #

[View source]
def hate : Hate | Nil #

def self_harm : SelfHarm | Nil #

def sexual : Sexual | Nil #

def violence : Violence | Nil #