struct OpenAI::ChatToolCall

Included Modules

Extended Modules

Defined in:

openai/api/chat.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : String, type : String, function : ChatFunctionCall) #

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

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(id _id = @id, type _type = @type, function _function = @function) #

[View source]
def function : ChatFunctionCall #

def id : String #

def type : String #