Skip to content

struct OpenAI::ToolCall
inherits Struct #

The response from the API dictating the functions and types that were called as part of a function call

Included modules

JSON::Serializable

Constructors#

.new(id : String, type : String, function : Function)#

View source

.new(pull : JSON::PullParser)#

View source

Methods#

#clone#

View source

#copy_with(id _id = @id, type _type = @type, function _function = @function)#

View source

#function : Function#

#id : String#

#type : String#