Class GoogleCloudAiplatformV1AutoraterConfig
The configs for autorater. This is applicable to both EvaluateInstances and EvaluateDataset.
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1.Data
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class GoogleCloudAiplatformV1AutoraterConfig : IDirectResponseSchema
Properties
AutoraterModel
Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher
model format: projects/{project}/locations/{location}/publishers/*/models/*
Tuned model endpoint format:
projects/{project}/locations/{location}/endpoints/{endpoint}
Declaration
[JsonProperty("autoraterModel")]
public virtual string AutoraterModel { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FlipEnabled
Optional. Default is true. Whether to flip the candidate and baseline responses. This is only applicable to the pairwise metric. If enabled, also provide PairwiseMetricSpec.candidate_response_field_name and PairwiseMetricSpec.baseline_response_field_name. When rendering PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields will be flipped for half of the samples to reduce bias.
Declaration
[JsonProperty("flipEnabled")]
public virtual bool? FlipEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
SamplingCount
Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32.
Declaration
[JsonProperty("samplingCount")]
public virtual int? SamplingCount { get; set; }
Property Value
Type | Description |
---|---|
int? |