Google Cloud Ai Platform V1 Client - Class PointwiseMetricSpec (1.8.0)

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

Spec for pointwise metric.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ metric_prompt_template string

Required. Metric prompt template for pointwise metric.

getMetricPromptTemplate

Required. Metric prompt template for pointwise metric.

Returns
Type Description
string

hasMetricPromptTemplate

clearMetricPromptTemplate

setMetricPromptTemplate

Required. Metric prompt template for pointwise metric.

Parameter
Name Description
var string
Returns
Type Description
$this