FunctionCallingMode enum

Inheritance

Constructors

FunctionCallingMode()
const

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