Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Trajectory
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Trajectory
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Spec for trajectory.
Instance Attribute Summary collapse
-
#tool_calls ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCall>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1Trajectory
constructor
A new instance of GoogleCloudAiplatformV1beta1Trajectory.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1Trajectory
Returns a new instance of GoogleCloudAiplatformV1beta1Trajectory.
40230 40231 40232 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40230 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tool_calls ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCall>
Required. Tool calls in the trajectory.
Corresponds to the JSON property toolCalls
40228 40229 40230 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40228 def tool_calls @tool_calls end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
40235 40236 40237 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40235 def update!(**args) @tool_calls = args[:tool_calls] if args.key?(:tool_calls) end |