struct Gemini::FunctionCallingConfig

Included Modules

Defined in:

gemini/function_calling.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def allowed_function_names : Array(String) | Nil #

A set of function names that, when provided, limits the functions the model will call. (Optional)


def allowed_function_names=(allowed_function_names : Array(String) | Nil) #

A set of function names that, when provided, limits the functions the model will call. (Optional)


def mode : Mode | Nil #

Specifies the mode in which function calling should execute. (Optional)


def mode=(mode : Mode | Nil) #

Specifies the mode in which function calling should execute. (Optional)