FunctionCallingConfig class final
Function calling config.
- Inheritance
-
- Object
- ProtoMessage
- FunctionCallingConfig
Constructors
-
FunctionCallingConfig({FunctionCallingConfig_Mode mode = FunctionCallingConfig_Mode.$default, List<
String> allowedFunctionNames = const []}) - FunctionCallingConfig.fromJson(Object? j)
-
factory
Properties
-
allowedFunctionNames
→ List<
String> -
Optional. Function names to call. Only set when the Mode is ANY. Function
names should match FunctionDeclaration.name. With mode set to ANY, model
will predict a function call from the set of function names provided.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mode → FunctionCallingConfig_Mode
-
Optional. Function calling mode.
final
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - 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 -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String