Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectorySingleToolUseSpec
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectorySingleToolUseSpec
- 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 TrajectorySingleToolUse metric - returns 1 if tool is present in the predicted trajectory, else 0.
Instance Attribute Summary collapse
-
#tool_name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1TrajectorySingleToolUseSpec
constructor
A new instance of GoogleCloudAiplatformV1beta1TrajectorySingleToolUseSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1TrajectorySingleToolUseSpec
Returns a new instance of GoogleCloudAiplatformV1beta1TrajectorySingleToolUseSpec.
40850 40851 40852 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40850 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tool_name ⇒ String
Required. Spec for tool name to be checked for in the predicted trajectory.
Corresponds to the JSON property toolName
40848 40849 40850 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40848 def tool_name @tool_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
40855 40856 40857 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40855 def update!(**args) @tool_name = args[:tool_name] if args.key?(:tool_name) end |