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

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

Input for question answering quality metric.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ metric_spec QuestionAnsweringQualitySpec

Required. Spec for question answering quality score metric.

↳ instance QuestionAnsweringQualityInstance

Required. Question answering quality instance.

getMetricSpec

Required. Spec for question answering quality score metric.

Returns
Type Description
QuestionAnsweringQualitySpec|null

hasMetricSpec

clearMetricSpec

setMetricSpec

Required. Spec for question answering quality score metric.

Parameter
Name Description
var QuestionAnsweringQualitySpec
Returns
Type Description
$this

getInstance

Required. Question answering quality instance.

Returns
Type Description
QuestionAnsweringQualityInstance|null

hasInstance

clearInstance

setInstance

Required. Question answering quality instance.

Parameter
Name Description
var QuestionAnsweringQualityInstance
Returns
Type Description
$this