struct Gemini::FunctionCallingConfig
- Gemini::FunctionCallingConfig
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
gemini/function_calling.crConstructors
Instance Method Summary
-
#allowed_function_names : Array(String) | Nil
A set of function names that, when provided, limits the functions the model will call.
-
#allowed_function_names=(allowed_function_names : Array(String) | Nil)
A set of function names that, when provided, limits the functions the model will call.
-
#mode : Mode | Nil
Specifies the mode in which function calling should execute.
-
#mode=(mode : Mode | Nil)
Specifies the mode in which function calling should execute.
Constructor Detail
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)