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

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

Input for pairwise question answering quality metric.

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

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

Required. Spec for pairwise question answering quality score metric.

↳ instance Google\Cloud\AIPlatform\V1\PairwiseQuestionAnsweringQualityInstance

Required. Pairwise question answering quality instance.

getMetricSpec

Required. Spec for pairwise question answering quality score metric.

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

hasMetricSpec

clearMetricSpec

setMetricSpec

Required. Spec for pairwise question answering quality score metric.

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

getInstance

Required. Pairwise question answering quality instance.

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

hasInstance

clearInstance

setInstance

Required. Pairwise question answering quality instance.

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