Google Cloud Ai Platform V1 Client - Class SummarizationQualityInput (1.5.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class SummarizationQualityInput.

Input for summarization quality metric.

Generated from protobuf message google.cloud.aiplatform.v1.SummarizationQualityInput

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ metric_spec Google\Cloud\AIPlatform\V1\SummarizationQualitySpec

Required. Spec for summarization quality score metric.

↳ instance Google\Cloud\AIPlatform\V1\SummarizationQualityInstance

Required. Summarization quality instance.

getMetricSpec

Required. Spec for summarization quality score metric.

Returns
Type Description
Google\Cloud\AIPlatform\V1\SummarizationQualitySpec|null

hasMetricSpec

clearMetricSpec

setMetricSpec

Required. Spec for summarization quality score metric.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\SummarizationQualitySpec
Returns
Type Description
$this

getInstance

Required. Summarization quality instance.

Returns
Type Description
Google\Cloud\AIPlatform\V1\SummarizationQualityInstance|null

hasInstance

clearInstance

setInstance

Required. Summarization quality instance.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\SummarizationQualityInstance
Returns
Type Description
$this