struct

AI::OpenAI::OpenAIChatChunkToolCall

Inherits JSON::Serializable < Struct < Value < Object

Tool call in streaming chunk.

Constructors

new(index : Int32, function : OpenAIChatChunkToolCallFunction, id : String | Nil = nil, type : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

function
Source
index
Source
type
Source