GoogleCloudAiplatformV1Tool class
Tool details that the model may use to generate response.
A Tool
is a piece of code that enables the system to interact with
external systems to perform an action, or set of actions, outside of
knowledge and scope of the model. A Tool object should contain exactly one
type of Tool (e.g FunctionDeclaration, Retrieval or GoogleSearchRetrieval).
Constructors
-
GoogleCloudAiplatformV1Tool({List<
GoogleCloudAiplatformV1FunctionDeclaration> ? functionDeclarations, GoogleCloudAiplatformV1GoogleSearchRetrieval? googleSearchRetrieval, GoogleCloudAiplatformV1Retrieval? retrieval}) - GoogleCloudAiplatformV1Tool.fromJson(Map json_)
Properties
-
functionDeclarations
↔ List<
GoogleCloudAiplatformV1FunctionDeclaration> ? -
Function tool type.
getter/setter pair
- googleSearchRetrieval ↔ GoogleCloudAiplatformV1GoogleSearchRetrieval?
-
GoogleSearchRetrieval tool type.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- retrieval ↔ GoogleCloudAiplatformV1Retrieval?
-
Retrieval tool type.
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