Cloud AI Platform v1 API - Class PairwiseMetricInstance (3.7.0)

public sealed class PairwiseMetricInstance : IMessage<PairwiseMetricInstance>, IEquatable<PairwiseMetricInstance>, IDeepCloneable<PairwiseMetricInstance>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class PairwiseMetricInstance.

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

Inheritance

object > PairwiseMetricInstance

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

PairwiseMetricInstance()

public PairwiseMetricInstance()

PairwiseMetricInstance(PairwiseMetricInstance)

public PairwiseMetricInstance(PairwiseMetricInstance other)
Parameter
Name Description
other PairwiseMetricInstance

Properties

HasJsonInstance

public bool HasJsonInstance { get; }

Gets whether the "json_instance" field is set

Property Value
Type Description
bool

InstanceCase

public PairwiseMetricInstance.InstanceOneofCase InstanceCase { get; }
Property Value
Type Description
PairwiseMetricInstanceInstanceOneofCase

JsonInstance

public string JsonInstance { get; set; }

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

Property Value
Type Description
string