Google Cloud Ai Platform V1 Client - Class PairwiseSummarizationQualityInput (1.9.0)

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

Input for pairwise summarization quality metric.

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

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\PairwiseSummarizationQualitySpec

Required. Spec for pairwise summarization quality score metric.

↳ instance Google\Cloud\AIPlatform\V1\PairwiseSummarizationQualityInstance

Required. Pairwise summarization quality instance.

getMetricSpec

Required. Spec for pairwise summarization quality score metric.

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

hasMetricSpec

clearMetricSpec

setMetricSpec

Required. Spec for pairwise summarization quality score metric.

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

getInstance

Required. Pairwise summarization quality instance.

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

hasInstance

clearInstance

setInstance

Required. Pairwise summarization quality instance.

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