FunctionCallingConfig class final

Configuration specifying how the model should use the functions provided as tools.

Constructors

FunctionCallingConfig({FunctionCallingMode? mode, Set<String>? allowedFunctionNames})

Properties

allowedFunctionNames Set<String>?
A set of function names that, when provided, limits the functions the model will call.
final
hashCode int
The hash code for this object.
no setterinherited
mode FunctionCallingMode?
The mode in which function calling should execute.
final
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() Object
toString() String
A string representation of this object.
inherited

Operators

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