Enum FunctionCallingConfig.Mode (3.41.0)

public enum FunctionCallingConfig.Mode extends Enum<FunctionCallingConfig.Mode> implements ProtocolMessageEnum

Function calling mode.

Protobuf enum google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Mode

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ANY

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".

ANY = 2;

ANY_VALUE

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".

ANY = 2;

AUTO

Default model behavior, model decides to predict either a function call or a natural language repspose.

AUTO = 1;

AUTO_VALUE

Default model behavior, model decides to predict either a function call or a natural language repspose.

AUTO = 1;

MODE_UNSPECIFIED

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

MODE_UNSPECIFIED = 0;

MODE_UNSPECIFIED_VALUE

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

MODE_UNSPECIFIED = 0;

NONE

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

NONE = 3;

NONE_VALUE

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

NONE = 3;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()