Skip to content

struct OpenAI::EditsRequest
inherits Struct #

Included modules

JSON::Serializable

Constructors#

.new(model : String | Nil = nil, input : String | Nil = nil, instruction : String | Nil = nil, n : Int32 | Nil = nil, temperature : Float32 | Nil = nil, top_p : Float32 | Nil = nil)#

View source

.new(pull : JSON::PullParser)#

View source

Methods#

#clone#

View source

#copy_with(model _model = @model, input _input = @input, instruction _instruction = @instruction, n _n = @n, temperature _temperature = @temperature, top_p _top_p = @top_p)#

View source

#input : String | ::Nil#

#instruction : String | ::Nil#

#model : String | ::Nil#

#n : Int32 | ::Nil#

#temperature : Float32 | ::Nil#

#top_p : Float32 | ::Nil#