UGemini 2.0.1
A C# wrapper for the Google Gemini API.
Loading...
Searching...
No Matches
Uralstech.UGemini.Models.Generation.Tools.Declaration.GeminiToolConfiguration Class Reference

The Tool configuration containing parameters for specifying Tool use in the request. More...

Static Public Member Functions

static GeminiToolConfiguration GetConfiguration (GeminiFunctionCallingMode callingMode, string[] allowedFunctions=null)
 Creates a new GeminiToolConfiguration.
 

Public Attributes

GeminiFunctionCallingConfiguration FunctionCallingConfig = null
 Function calling config.
 

Detailed Description

The Tool configuration containing parameters for specifying Tool use in the request.

Member Function Documentation

◆ GetConfiguration()

static GeminiToolConfiguration Uralstech.UGemini.Models.Generation.Tools.Declaration.GeminiToolConfiguration.GetConfiguration ( GeminiFunctionCallingMode callingMode,
string[] allowedFunctions = null )
static

Creates a new GeminiToolConfiguration.

Parameters
callingModeSpecifies the mode in which function calling should execute.
allowedFunctionsA set of function names that, when provided, limits the functions the model will call.
Returns

The documentation for this class was generated from the following file: