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

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 FluencySpec

Required. Spec for fluency score metric.

↳ instance FluencyInstance

Required. Fluency instance.

getMetricSpec

Required. Spec for fluency score metric.

Returns
Type Description
FluencySpec|null

hasMetricSpec

clearMetricSpec

setMetricSpec

Required. Spec for fluency score metric.

Parameter
Name Description
var FluencySpec
Returns
Type Description
$this

getInstance

Required. Fluency instance.

Returns
Type Description
FluencyInstance|null

hasInstance

clearInstance

setInstance

Required. Fluency instance.

Parameter
Name Description
var FluencyInstance
Returns
Type Description
$this