struct

Arcana::AI::Chat::Tool

Inherits Struct < Value < Object

Defines a tool the model can call (function calling).

Constructors

new(name : String, description : String, parameters_json : String)
Source

Instance methods

description
Source
description=(description : String)
Source
name
Source
name=(name : String)
Source
parameters_json
Source
parameters_json=(parameters_json : String)
Source
to_json(json : JSON::Builder) : Nil
Source