public enum FunctionCallingConfig.Mode extends Enum<FunctionCallingConfig.Mode> implements ProtocolMessageEnum
Function calling mode.
Protobuf enum google.cloud.vertexai.v1.FunctionCallingConfig.Mode
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
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_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". |
AUTO |
Default model behavior, model decides to predict either a function call or a natural language response. |
AUTO_VALUE |
Default model behavior, model decides to predict either a function call or a natural language response. |
MODE_UNSPECIFIED |
Unspecified function calling mode. This value should not be used. |
MODE_UNSPECIFIED_VALUE |
Unspecified function calling mode. This value should not be used. |
NONE |
Model will not predict any function call. Model behavior is same as when not passing any function declarations. |
NONE_VALUE |
Model will not predict any function call. Model behavior is same as when not passing any function declarations. |
UNRECOGNIZED |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |