Class FunctionCallingConfig
Configuration for specifying function calling behavior.
Inherited Members
Namespace: Glitch9.AIDevKit.Google
Assembly: Glitch9.AIDevKit.Provider.Google.dll
Syntax
public class FunctionCallingConfig
Properties
| Edit this page View SourceAllowedFunctionNames
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
[JsonProperty("allowedFunctionNames")]
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
[JsonProperty("mode")]
public FunctionCallingMode Mode { get; set; }
Property Value
| Type | Description |
|---|---|
| FunctionCallingMode |