struct Google::GenerativeAI::Tools(T)

Included Modules

Extended Modules

Defined in:

gemini.cr

Constructors

Instance Method Summary

Macros inherited from module Google::Resource

field(var, key = nil, **options, &block) field, field!(var, key = nil, **options, &block) field!, field?(var, key = nil, **options, &block) field?

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(pull : MessagePack::Unpacker) #

def self.new(function_declarations : Array(T)) #

[View source]

Instance Method Detail

def function_declarations : Array(T) #

def to_json(json : JSON::Builder) #

[View source]