OpenAI::ChatTool
Inherits JSON::Serializable / Struct / Value / Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(type : ToolType = ToolType::Function, function : ChatFunction | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
clone
Sourcecopy_with(type _type = @type, function _function = @function)
Sourcefunction
type