LLM::LocalFunction
Inherits LLM::Function < Reference < Object
Defines a subclass of Function that can be used to implement local (in-code) tools / functions easily
Constructors
new(origin = "LEGACY / Built-in", settings = nil)
SourceInstance methods
input_json_schema(json : JSON::Builder)
The input schema for the parameters to this function, into the JSON builder.
Macros
param(name, description, type = Param::Type::Str, required = false)
Define a parameter for this LLM Function.