Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingResult

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

Result for RubricBasedInstructionFollowing metric.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingResult

Returns a new instance of GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingResult.



41086
41087
41088
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41086

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

Instance Attribute Details

#rubric_critique_resultsArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RubricCritiqueResult>

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



41079
41080
41081
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41079

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)


41084
41085
41086
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41084

def score
  @score
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



41091
41092
41093
41094
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41091

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