Class FunctionCallingConfig
Configuration for specifying function calling behavior.
Inheritance
object
FunctionCallingConfig
Namespace: Glitch9.AIDevKit.Google
Assembly: .dll
Syntax
public class FunctionCallingConfig
Properties
AllowedFunctionNames
Optional.
A set of function names that, when provided, limits the functions the model will call.
This should only be set when the Mode is ANY. Function names should match Name. With mode set to ANY, model will predict a function call from the set of function names provided.
Declaration
public List<string> AllowedFunctionNames { get; set; }
Property Value
Type | Description |
---|---|
List<string> |
Mode
Required. Optional. Specifies the mode in which function calling should execute. If unspecified, the default value will be set to AUTO.
Declaration
public Mode Mode { get; set; }
Property Value
Type | Description |
---|---|
Mode |