Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SummarizationQualityInput
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SummarizationQualityInput
- 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
Input for summarization quality metric.
Instance Attribute Summary collapse
-
#instance ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SummarizationQualityInstance
Spec for summarization quality instance.
-
#metric_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SummarizationQualitySpec
Spec for summarization quality score metric.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SummarizationQualityInput
constructor
A new instance of GoogleCloudAiplatformV1beta1SummarizationQualityInput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SummarizationQualityInput
Returns a new instance of GoogleCloudAiplatformV1beta1SummarizationQualityInput.
33192 33193 33194 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33192 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SummarizationQualityInstance
Spec for summarization quality instance.
Corresponds to the JSON property instance
33185 33186 33187 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33185 def instance @instance end |
#metric_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SummarizationQualitySpec
Spec for summarization quality score metric.
Corresponds to the JSON property metricSpec
33190 33191 33192 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33190 def metric_spec @metric_spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
33197 33198 33199 33200 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33197 def update!(**args) @instance = args[:instance] if args.key?(:instance) @metric_spec = args[:metric_spec] if args.key?(:metric_spec) end |