Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricBasedInstructionFollowingResult
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricBasedInstructionFollowingResult
- 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
-
#rubric_critique_results ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricCritiqueResult>
Output only.
-
#score ⇒ Float
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1RubricBasedInstructionFollowingResult
constructor
A new instance of GoogleCloudAiplatformV1RubricBasedInstructionFollowingResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1RubricBasedInstructionFollowingResult
Returns a new instance of GoogleCloudAiplatformV1RubricBasedInstructionFollowingResult.
26576 26577 26578 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26576 def initialize(**args) update!(**args) end |
Instance Attribute Details
#rubric_critique_results ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricCritiqueResult>
Output only. List of per rubric critique results.
Corresponds to the JSON property rubricCritiqueResults
26569 26570 26571 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26569 def rubric_critique_results @rubric_critique_results end |
#score ⇒ Float
Output only. Overall score for the instruction following.
Corresponds to the JSON property score
26574 26575 26576 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26574 def score @score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
26581 26582 26583 26584 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26581 def update!(**args) @rubric_critique_results = args[:rubric_critique_results] if args.key?(:rubric_critique_results) @score = args[:score] if args.key?(:score) end |