struct AI::OpenAI::OpenAIChatChunkToolCall

Overview

Tool call in streaming chunk.

Included Modules

Defined in:

ai/openai/chat/openai_chat_api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(index : Int32, function : OpenAIChatChunkToolCallFunction, id : String | Nil = nil, type : String | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail


[View source]
def id : String | Nil #

[View source]
def index : Int32 #

[View source]
def type : String | Nil #

[View source]