1.0.0-beta87 (latest) 1.0.0-beta86

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

Reference documentation and code samples for the Vertex AI v1beta1 API class AutoraterConfig.

The configs for autorater. This is applicable to both EvaluateInstances and
EvaluateDataset.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> AutoraterConfig

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AutoraterConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.AutoraterConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AutoraterConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.AutoraterConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AutoraterConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.AutoraterConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AIPlatform.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)

## Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

## Constructors

### AutoraterConfig()

    public AutoraterConfig()

### AutoraterConfig(AutoraterConfig)

    public AutoraterConfig(AutoraterConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.AutoraterConfig` |

## Properties

### AutoraterModel

    public string AutoraterModel { get; set; }

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}`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### FlipEnabled

    public bool FlipEnabled { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### GenerationConfig

    public GenerationConfig GenerationConfig { get; set; }

Optional. Configuration options for model generation and outputs.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GenerationConfig` |   |

### HasFlipEnabled

    public bool HasFlipEnabled { get; }

Gets whether the "flip_enabled" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasSamplingCount

    public bool HasSamplingCount { get; }

Gets whether the "sampling_count" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### SamplingCount

    public int SamplingCount { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |