Google Cloud Ai Platform V1 Client - Class GroundednessInput (1.12.0)

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

Input for groundedness metric.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ metric_spec GroundednessSpec

Required. Spec for groundedness metric.

↳ instance GroundednessInstance

Required. Groundedness instance.

getMetricSpec

Required. Spec for groundedness metric.

Returns
Type Description
GroundednessSpec|null

hasMetricSpec

clearMetricSpec

setMetricSpec

Required. Spec for groundedness metric.

Parameter
Name Description
var GroundednessSpec
Returns
Type Description
$this

getInstance

Required. Groundedness instance.

Returns
Type Description
GroundednessInstance|null

hasInstance

clearInstance

setInstance

Required. Groundedness instance.

Parameter
Name Description
var GroundednessInstance
Returns
Type Description
$this