OpenAI::ChatCompletionMessageToolCallChunk
Inherits JSON::Serializable < Reference < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(index : Int64 = 0, id : String | Nil = nil, type_value : ChatCompletionMessageToolCallChunkType | Nil = nil, function : ChatCompletionMessageToolCallChunkFunction | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
function
Sourcefunction=(function : ChatCompletionMessageToolCallChunkFunction | Nil)
Sourceindex
Sourcetype_value=(type_value : ChatCompletionMessageToolCallChunkType | Nil)
The type of the tool. Currently, only function is supported.