Google Cloud Ai Platform V1 Client - Class PairwiseSummarizationQualitySpec (1.4.0)

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

Spec for pairwise summarization quality score metric.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ use_reference bool

Optional. Whether to use instance.reference to compute pairwise summarization quality.

↳ version int

Optional. Which version to use for evaluation.

getUseReference

Optional. Whether to use instance.reference to compute pairwise summarization quality.

Returns
Type Description
bool

setUseReference

Optional. Whether to use instance.reference to compute pairwise summarization quality.

Parameter
Name Description
var bool
Returns
Type Description
$this

getVersion

Optional. Which version to use for evaluation.

Returns
Type Description
int

setVersion

Optional. Which version to use for evaluation.

Parameter
Name Description
var int
Returns
Type Description
$this