Google Cloud Ai Platform V1 Client - Class PairwiseMetricSpec (1.6.0)

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

Spec for pairwise metric.

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

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 pairwise metric.

getMetricPromptTemplate

Required. Metric prompt template for pairwise metric.

Returns
Type Description
string

hasMetricPromptTemplate

clearMetricPromptTemplate

setMetricPromptTemplate

Required. Metric prompt template for pairwise metric.

Parameter
Name Description
var string
Returns
Type Description
$this