Enum FunctionCallingMode (1.9.0)

Function calling mode.

Fields

Name Description
ANY

Model is constrained to always predicting function calls only. If "allowedFunctionNames" are set, the predicted function calls will be limited to any one of "allowedFunctionNames", else the predicted function calls will be any one of the provided "function_declarations".

AUTO

Default model behavior, model decides to predict either function calls or natural language response.

MODE_UNSPECIFIED

Unspecified function calling mode. This value should not be used.

NONE

Model will not predict any function calls. Model behavior is same as when not passing any function declarations.