Enum GeminiFunctionCallingMode
- Namespace
- Uralstech.UGemini.Models.Generation.Tools.Declaration
Defines the execution behavior for function calling by defining the execution mode.
public enum GeminiFunctionCallingMode
- Extension Methods
Fields
[EnumMember(Value = "ANY")] Any = 2Model is constrained to always predicting a function call only. If AllowedFunctionNames is set, the predicted function call will be limited to any one of AllowedFunctionNames, else the predicted function call will be any one of the provided FunctionDeclarations.
[EnumMember(Value = "AUTO")] Auto = 1Default model behavior, model decides to predict either a function call or a natural language response.
[EnumMember(Value = "NONE")] None = 3Model will not predict any function call. Model behavior is same as when not passing any function declarations.
[EnumMember(Value = "MODE_UNSPECIFIED")] Unspecified = 0Unspecified function calling mode. This value should not be used.