Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PairwiseSummarizationQualityResult
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PairwiseSummarizationQualityResult
- 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
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) ⇒ GoogleCloudAiplatformV1beta1PairwiseSummarizationQualityResult
constructor
A new instance of GoogleCloudAiplatformV1beta1PairwiseSummarizationQualityResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PairwiseSummarizationQualityResult
Returns a new instance of GoogleCloudAiplatformV1beta1PairwiseSummarizationQualityResult.
19927 19928 19929 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19927 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidence ⇒ Float
Output only. Confidence for summarization quality score.
Corresponds to the JSON property confidence
19915 19916 19917 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19915 def confidence @confidence end |
#explanation ⇒ String
Output only. Explanation for summarization quality score.
Corresponds to the JSON property explanation
19920 19921 19922 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19920 def explanation @explanation end |
#pairwise_choice ⇒ String
Output only. Pairwise summarization prediction choice.
Corresponds to the JSON property pairwiseChoice
19925 19926 19927 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19925 def pairwise_choice @pairwise_choice end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19932 19933 19934 19935 19936 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19932 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 |