Table of Contents

Class FunctionCallingConfig

Configuration for specifying function calling behavior.

public class FunctionCallingConfig
Inheritance
object
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.

public List<string> AllowedFunctionNames { get; set; }

Property Value

List<string>

Mode

Required. Optional. Specifies the mode in which function calling should execute. If unspecified, the default value will be set to AUTO.

public FunctionCallingMode Mode { get; set; }

Property Value

FunctionCallingMode