struct Gemini::FunctionCall

Overview

A predicted FunctionCall returned from the model that contains a string representing the FunctionDeclaration#name with the arguments and their values.

Included Modules

Defined in:

gemini/function_calling.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def args : JSON::Any | Nil #

The function parameters and values in JSON object format. (Optional)


def name : String #

The name of the function to call. (Required)


def to_json_object_key #