Class GeminiToolConfiguration
- Namespace
- Uralstech.UGemini.Models.Generation.Tools.Declaration
The Tool configuration containing parameters for specifying Tool use in the request.
public class GeminiToolConfiguration
- Inheritance
-
GeminiToolConfiguration
- Extension Methods
Fields
FunctionCallingConfig
Function calling config.
public GeminiFunctionCallingConfiguration FunctionCallingConfig
Field Value
Methods
GetConfiguration(GeminiFunctionCallingMode, string[])
Creates a new GeminiToolConfiguration.
public static GeminiToolConfiguration GetConfiguration(GeminiFunctionCallingMode callingMode, string[] allowedFunctions = null)
Parameters
callingMode
GeminiFunctionCallingModeSpecifies the mode in which function calling should execute.
allowedFunctions
string[]A set of function names that, when provided, limits the functions the model will call.