public sealed class PairwiseMetricInstance : IMessage<PairwiseMetricInstance>, IEquatable<PairwiseMetricInstance>, IDeepCloneable<PairwiseMetricInstance>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class PairwiseMetricInstance.
Pairwise metric instance. Usually one instance corresponds to one row in an evaluation dataset.
Implements
IMessagePairwiseMetricInstance, IEquatablePairwiseMetricInstance, IDeepCloneablePairwiseMetricInstance, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.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 |