struct

Gemini::FunctionCallingConfig

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

allowed_function_names

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

Source
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)

Source
mode

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

Source
mode=(mode : Mode | Nil)

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

Source

Nested types