Known

public enum Known

Enum representing the known values for FunctionCallingConfigMode.

Entries

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Model is constrained to predict either function calls or natural language response. If "allowed_function_names" are set, the predicted function calls will be limited to any one of "allowed_function_names", else the predicted function calls will be any one of the provided "function_declarations".

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.