Skip to content

struct OpenAI::FunctionDefinition
inherits Struct #

Included modules

JSON::Serializable

Constructors#

.new(name : String, description : String | Nil = nil, parameters : JSON::Any | Nil = nil)#

View source

.new(pull : JSON::PullParser)#

View source

Methods#

#clone#

View source

#copy_with(name _name = @name, description _description = @description, parameters _parameters = @parameters)#

View source

#description : String | ::Nil#

#name : String#

#parameters : JSON::Any | ::Nil#