struct OpenAI::CompletionResponse
inherits Struct
#
Included modules
JSON::Serializable
OpenAI::CompletionResponse
Struct
#JSON::Serializable
.new(id : String, object : String, created : Int64, model : String, choices : Array(CompletionChoice), usage : Usage)
##choices : Array(CompletionChoice)
##copy_with(id _id = @id, object _object = @object, created _created = @created, model _model = @model, choices _choices = @choices, usage _usage = @usage)
##created : Int64
##id : String
##model : String
##object : String
##usage : Usage
#