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

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.
 

Detailed Description

Configuration for specifying function calling behavior.

Member Data Documentation

◆ AllowedFunctionNames

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.


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