GoogleCloudAiplatformV1FunctionResponse class
The result output from a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function is used as context to the model.
This should contain the result of a [FunctionCall] made based on model prediction.
Constructors
-
GoogleCloudAiplatformV1FunctionResponse({String? name, Map<
String, Object?> ? response}) - GoogleCloudAiplatformV1FunctionResponse.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
The name of the function to call.
getter/setter pair
-
response
↔ Map<
String, Object?> ? -
The function response in JSON object format.
getter/setter pair
- 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(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited