OpenAI::ChatCompletionList
Inherits JSON::Serializable < Reference < Object
An object representing a list of Chat Completions.
Constructors
new(pull : JSON::PullParser)
Sourcenew(object : ChatCompletionListObject = ChatCompletionListObject::List, data : Array(CreateChatCompletionResponse) = [] of CreateChatCompletionResponse, first_id : String = "", last_id : String = "", has_more : Bool = false)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
object=(object : ChatCompletionListObject)
The type of this object. It is always set to "list".