Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricBasedInstructionFollowingResult

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

Result for RubricBasedInstructionFollowing metric.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1RubricBasedInstructionFollowingResult

Returns a new instance of GoogleCloudAiplatformV1RubricBasedInstructionFollowingResult.



33736
33737
33738
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33736

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

Instance Attribute Details

#rubric_critique_resultsArray<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricCritiqueResult>

Output only. List of per rubric critique results. Corresponds to the JSON property rubricCritiqueResults



33729
33730
33731
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33729

def rubric_critique_results
  @rubric_critique_results
end

#scoreFloat

Output only. Overall score for the instruction following. Corresponds to the JSON property score

Returns:

  • (Float)


33734
33735
33736
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33734

def score
  @score
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



33741
33742
33743
33744
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33741

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