Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseSummarizationQualityResult
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseSummarizationQualityResult
- 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
Spec for pairwise summarization quality result.
Instance Attribute Summary collapse
-
#confidence ⇒ Float
Output only.
-
#explanation ⇒ String
Output only.
-
#pairwise_choice ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1PairwiseSummarizationQualityResult
constructor
A new instance of GoogleCloudAiplatformV1PairwiseSummarizationQualityResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1PairwiseSummarizationQualityResult
Returns a new instance of GoogleCloudAiplatformV1PairwiseSummarizationQualityResult.
17788 17789 17790 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17788 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidence ⇒ Float
Output only. Confidence for summarization quality score.
Corresponds to the JSON property confidence
17776 17777 17778 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17776 def confidence @confidence end |
#explanation ⇒ String
Output only. Explanation for summarization quality score.
Corresponds to the JSON property explanation
17781 17782 17783 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17781 def explanation @explanation end |
#pairwise_choice ⇒ String
Output only. Pairwise summarization prediction choice.
Corresponds to the JSON property pairwiseChoice
17786 17787 17788 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17786 def pairwise_choice @pairwise_choice end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17793 17794 17795 17796 17797 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17793 def update!(**args) @confidence = args[:confidence] if args.key?(:confidence) @explanation = args[:explanation] if args.key?(:explanation) @pairwise_choice = args[:pairwise_choice] if args.key?(:pairwise_choice) end |