OpenAI::Completion
Inherits JSON::Serializable / Struct / Value / Object
Constructors
new(choices : Array(Choice), created : Int32, id : String, model : String)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
choices
clone
Sourcecopy_with(choices _choices = @choices, created _created = @created, id _id = @id, model _model = @model)
Sourcecreated
created_at
Sourceid
model