UGemini 2.0.1
A C# wrapper for the Google Gemini API.
|
Configuration for specifying function calling behavior. More...
Public Attributes | |
GeminiFunctionCallingMode | Mode = GeminiFunctionCallingMode.Auto |
Specifies the mode in which function calling should execute. If unspecified, the default value will be set to AUTO. | |
string[] | AllowedFunctionNames = null |
A set of function names that, when provided, limits the functions the model will call. | |
Configuration for specifying function calling behavior.
string [] Uralstech.UGemini.Models.Generation.Tools.Declaration.GeminiFunctionCallingConfiguration.AllowedFunctionNames = null |
A set of function names that, when provided, limits the functions the model will call.
This should only be set when Mode is GeminiFunctionCallingMode.Any.
Function names should match [GeminiFunctionDeclaration.Name]. With mode set to GeminiFunctionCallingMode.Any,
model will predict a function call from the set of function names provided.