FunctionCallingMode enum

The mode in which the model should use the functions provided as tools.

Inheritance
Available extensions

Values

auto → const FunctionCallingMode

The mode with default model behavior.

Model decides to predict either a function call or a natural language response.

any → const FunctionCallingMode

A mode where the Model is constrained to always predicting a function call only.

none → const FunctionCallingMode

A mode where the model will not predict any function call.

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

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → String
Convert to json object.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<FunctionCallingMode>
A constant List of the values in this enum, in order of their declaration.