Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RubricCritiqueResult
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RubricCritiqueResult
- 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
Rubric critique result.
Instance Attribute Summary collapse
-
#rubric ⇒ String
Output only.
-
#verdict ⇒ Boolean
(also: #verdict?)
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RubricCritiqueResult
constructor
A new instance of GoogleCloudAiplatformV1beta1RubricCritiqueResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RubricCritiqueResult
Returns a new instance of GoogleCloudAiplatformV1beta1RubricCritiqueResult.
47345 47346 47347 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 47345 def initialize(**args) update!(**args) end |
Instance Attribute Details
#rubric ⇒ String
Output only. Rubric to be evaluated.
Corresponds to the JSON property rubric
47336 47337 47338 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 47336 def rubric @rubric end |
#verdict ⇒ Boolean Also known as: verdict?
Output only. Verdict for the rubric - true if the rubric is met, false
otherwise.
Corresponds to the JSON property verdict
47342 47343 47344 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 47342 def verdict @verdict end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
47350 47351 47352 47353 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 47350 def update!(**args) @rubric = args[:rubric] if args.key?(:rubric) @verdict = args[:verdict] if args.key?(:verdict) end |