Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Trajectory
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Trajectory
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Spec for trajectory.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1Trajectory
constructor
A new instance of GoogleCloudAiplatformV1Trajectory.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1Trajectory
Returns a new instance of GoogleCloudAiplatformV1Trajectory.
35545 35546 35547 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35545 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tool_calls ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolCall>
Required. Tool calls in the trajectory.
Corresponds to the JSON property toolCalls
35543 35544 35545 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35543 def tool_calls @tool_calls end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
35550 35551 35552 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35550 def update!(**args) @tool_calls = args[:tool_calls] if args.key?(:tool_calls) end |