Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RubricCritiqueResult

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RubricCritiqueResult

Returns a new instance of GoogleCloudAiplatformV1beta1RubricCritiqueResult.



51271
51272
51273
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 51271

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#rubricString

Output only. Rubric to be evaluated. Corresponds to the JSON property rubric

Returns:

  • (String)


51262
51263
51264
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 51262

def rubric
  @rubric
end

#verdictBoolean Also known as: verdict?

Output only. Verdict for the rubric - true if the rubric is met, false otherwise. Corresponds to the JSON property verdict

Returns:

  • (Boolean)


51268
51269
51270
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 51268

def verdict
  @verdict
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



51276
51277
51278
51279
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 51276

def update!(**args)
  @rubric = args[:rubric] if args.key?(:rubric)
  @verdict = args[:verdict] if args.key?(:verdict)
end