Cloud AI Platform v1beta1 API - Class PairwiseMetricSpec (1.0.0-beta14)

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

Reference documentation and code samples for the Cloud AI Platform v1beta1 API class PairwiseMetricSpec.

Spec for pairwise metric.

Inheritance

object > PairwiseMetricSpec

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

PairwiseMetricSpec()

public PairwiseMetricSpec()

PairwiseMetricSpec(PairwiseMetricSpec)

public PairwiseMetricSpec(PairwiseMetricSpec other)
Parameter
Name Description
other PairwiseMetricSpec

Properties

BaselineResponseFieldName

public string BaselineResponseFieldName { get; set; }

Optional. The field name of the baseline response.

Property Value
Type Description
string

CandidateResponseFieldName

public string CandidateResponseFieldName { get; set; }

Optional. The field name of the candidate response.

Property Value
Type Description
string

HasMetricPromptTemplate

public bool HasMetricPromptTemplate { get; }

Gets whether the "metric_prompt_template" field is set

Property Value
Type Description
bool

HasSystemInstruction

public bool HasSystemInstruction { get; }

Gets whether the "system_instruction" field is set

Property Value
Type Description
bool

MetricPromptTemplate

public string MetricPromptTemplate { get; set; }

Required. Metric prompt template for pairwise metric.

Property Value
Type Description
string

SystemInstruction

public string SystemInstruction { get; set; }

Optional. System instructions for pairwise metric.

Property Value
Type Description
string