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

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 PairwiseSummarizationQualitySpec

Required. Spec for pairwise summarization quality score metric.

↳ instance PairwiseSummarizationQualityInstance

Required. Pairwise summarization quality instance.

getMetricSpec

Required. Spec for pairwise summarization quality score metric.

Returns
Type Description
PairwiseSummarizationQualitySpec|null

hasMetricSpec

clearMetricSpec

setMetricSpec

Required. Spec for pairwise summarization quality score metric.

Parameter
Name Description
var PairwiseSummarizationQualitySpec
Returns
Type Description
$this

getInstance

Required. Pairwise summarization quality instance.

Returns
Type Description
PairwiseSummarizationQualityInstance|null

hasInstance

clearInstance

setInstance

Required. Pairwise summarization quality instance.

Parameter
Name Description
var PairwiseSummarizationQualityInstance
Returns
Type Description
$this