FunctionCallingConfig

class FunctionCallingConfig


Contains configuration for function calling from the model. This can be used to force function calling predictions or disable them.

Summary

Nested types

Configuration for dictating when the model should call the attached function.

Public properties

FunctionCallingConfig.Mode

The function calling mode of the model

Public constructors

FunctionCallingConfig

FunctionCallingConfig(mode: FunctionCallingConfig.Mode)
Parameters
mode: FunctionCallingConfig.Mode

The function calling mode of the model

Public properties

mode

val modeFunctionCallingConfig.Mode

The function calling mode of the model