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

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

Pairwise metric instance. Usually one instance corresponds to one row in an evaluation dataset.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ json_instance string

Instance specified as a json string. String key-value pairs are expected in the json_instance to render PairwiseMetricSpec.instance_prompt_template.

getJsonInstance

Instance specified as a json string. String key-value pairs are expected in the json_instance to render PairwiseMetricSpec.instance_prompt_template.

Returns
Type Description
string

hasJsonInstance

setJsonInstance

Instance specified as a json string. String key-value pairs are expected in the json_instance to render PairwiseMetricSpec.instance_prompt_template.

Parameter
Name Description
var string
Returns
Type Description
$this

getInstance

Returns
Type Description
string