struct Turquoise::Eloquent::Chat::Tool

Included Modules

Defined in:

turquoise/eloquent/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, description : String, parameters : NamedTuple(type: String, properties: Hash(String, NamedTuple(type: String, description: String)), required: Array(String)) = {type: "object", properties: {} of String => NamedTuple(type: String, description: String), required: [] of String}) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def description : String #

[View source]
def description=(description : String) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def parameters : {type: String, properties: Hash(String, {type: String, description: String}), required: Array(String)} #

[View source]
def parameters=(parameters : NamedTuple(type: String, properties: Hash(String, NamedTuple(type: String, description: String)), required: Array(String))) #

[View source]