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