Vertex AI V1 API - Module Google::Cloud::AIPlatform::V1::FunctionCallingConfig::Mode (v0.58.0)

Reference documentation and code samples for the Vertex AI V1 API module Google::Cloud::AIPlatform::V1::FunctionCallingConfig::Mode.

Function calling mode.

Constants

MODE_UNSPECIFIED

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

AUTO

value: 1
Default model behavior, model decides to predict either a function call or a natural language response.

ANY

value: 2
Model is constrained to always predicting a function call only. If "allowed_function_names" are set, the predicted function call will be limited to any one of "allowed_function_names", else the predicted function call will be any one of the provided "function_declarations".

NONE

value: 3
Model will not predict any function call. Model behavior is same as when not passing any function declarations.