Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricCritiqueResult

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

Rubric critique result.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1RubricCritiqueResult

Returns a new instance of GoogleCloudAiplatformV1RubricCritiqueResult.



26282
26283
26284
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26282

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

Instance Attribute Details

#rubricString

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

Returns:

  • (String)


26273
26274
26275
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26273

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)


26279
26280
26281
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26279

def verdict
  @verdict
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



26287
26288
26289
26290
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26287

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