Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualityResult
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualityResult
- 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 question answering 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) ⇒ GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualityResult
constructor
A new instance of GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualityResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualityResult
Returns a new instance of GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualityResult.
19801 19802 19803 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19801 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidence ⇒ Float
Output only. Confidence for question answering quality score.
Corresponds to the JSON property confidence
19789 19790 19791 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19789 def confidence @confidence end |
#explanation ⇒ String
Output only. Explanation for question answering quality score.
Corresponds to the JSON property explanation
19794 19795 19796 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19794 def explanation @explanation end |
#pairwise_choice ⇒ String
Output only. Pairwise question answering prediction choice.
Corresponds to the JSON property pairwiseChoice
19799 19800 19801 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19799 def pairwise_choice @pairwise_choice end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19806 19807 19808 19809 19810 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19806 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 |