Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityResult
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityResult
- 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 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) ⇒ GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityResult
constructor
A new instance of GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityResult
Returns a new instance of GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityResult.
17762 17763 17764 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17762 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
17750 17751 17752 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17750 def confidence @confidence end |
#explanation ⇒ String
Output only. Explanation for question answering quality score.
Corresponds to the JSON property explanation
17755 17756 17757 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17755 def explanation @explanation end |
#pairwise_choice ⇒ String
Output only. Pairwise question answering prediction choice.
Corresponds to the JSON property pairwiseChoice
17760 17761 17762 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17760 def pairwise_choice @pairwise_choice end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17767 17768 17769 17770 17771 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17767 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 |