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

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

Input for fluency metric.

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

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

Required. Spec for fluency score metric.

↳ instance Google\Cloud\AIPlatform\V1\FluencyInstance

Required. Fluency instance.

getMetricSpec

Required. Spec for fluency score metric.

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

hasMetricSpec

clearMetricSpec

setMetricSpec

Required. Spec for fluency score metric.

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

getInstance

Required. Fluency instance.

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

hasInstance

clearInstance

setInstance

Required. Fluency instance.

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