1.0.0-beta87 (latest) 1.0.0-beta86

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

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

Request message for EvaluationService.EvaluateInstances.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[EvaluateInstancesRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.EvaluateInstancesRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[EvaluateInstancesRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.EvaluateInstancesRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[EvaluateInstancesRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.EvaluateInstancesRequest), [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

### EvaluateInstancesRequest()

    public EvaluateInstancesRequest()

### EvaluateInstancesRequest(EvaluateInstancesRequest)

    public EvaluateInstancesRequest(EvaluateInstancesRequest other)

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

## Properties

### AutoraterConfig

    public AutoraterConfig AutoraterConfig { get; set; }

Optional. Autorater config used for evaluation.

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

### BleuInput

    public BleuInput BleuInput { get; set; }

Instances and metric spec for bleu metric.

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

### CoherenceInput

    public CoherenceInput CoherenceInput { get; set; }

Input for coherence metric.

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

### CometInput

    public CometInput CometInput { get; set; }

Translation metrics.
Input for Comet metric.

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

### ExactMatchInput

    public ExactMatchInput ExactMatchInput { get; set; }

Auto metric instances.
Instances and metric spec for exact match metric.

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

### FluencyInput

    public FluencyInput FluencyInput { get; set; }

LLM-based metric instance.
General text generation metrics, applicable to other categories.
Input for fluency metric.

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

### FulfillmentInput

    public FulfillmentInput FulfillmentInput { get; set; }

Input for fulfillment metric.

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

### GroundednessInput

    public GroundednessInput GroundednessInput { get; set; }

Input for groundedness metric.

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

### Instance

    public EvaluationInstance Instance { get; set; }

The instance to be evaluated.

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

### Location

    public string Location { get; set; }

Required. The resource name of the Location to evaluate the instances.
Format: `projects/{project}/locations/{location}`

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

### LocationAsLocationName

    public LocationName LocationAsLocationName { get; set; }

[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Location](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.EvaluateInstancesRequest#Google_Cloud_AIPlatform_V1Beta1_EvaluateInstancesRequest_Location) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` |   |

### MetricInputsCase

    public EvaluateInstancesRequest.MetricInputsOneofCase MetricInputsCase { get; }

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

### MetricSources

    public RepeatedField<MetricSource> MetricSources { get; }

Optional. The metrics (either inline or registered) used for evaluation.
Currently, we only support evaluating a single metric. If multiple metrics
are provided, only the first one will be evaluated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.MetricSource` |   |

### Metrics

    public RepeatedField<Metric> Metrics { get; }

The metrics used for evaluation.
Currently, we only support evaluating a single metric. If multiple metrics
are provided, only the first one will be evaluated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.Metric` |   |

### MetricxInput

    public MetricxInput MetricxInput { get; set; }

Input for Metricx metric.

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

### PairwiseMetricInput

    public PairwiseMetricInput PairwiseMetricInput { get; set; }

Input for pairwise metric.

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

### PairwiseQuestionAnsweringQualityInput

    public PairwiseQuestionAnsweringQualityInput PairwiseQuestionAnsweringQualityInput { get; set; }

Input for pairwise question answering quality metric.

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

### PairwiseSummarizationQualityInput

    public PairwiseSummarizationQualityInput PairwiseSummarizationQualityInput { get; set; }

Input for pairwise summarization quality metric.

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

### PointwiseMetricInput

    public PointwiseMetricInput PointwiseMetricInput { get; set; }

Input for pointwise metric.

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

### QuestionAnsweringCorrectnessInput

    public QuestionAnsweringCorrectnessInput QuestionAnsweringCorrectnessInput { get; set; }

Input for question answering correctness
metric.

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

### QuestionAnsweringHelpfulnessInput

    public QuestionAnsweringHelpfulnessInput QuestionAnsweringHelpfulnessInput { get; set; }

Input for question answering helpfulness
metric.

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

### QuestionAnsweringQualityInput

    public QuestionAnsweringQualityInput QuestionAnsweringQualityInput { get; set; }

Input for question answering quality metric.

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

### QuestionAnsweringRelevanceInput

    public QuestionAnsweringRelevanceInput QuestionAnsweringRelevanceInput { get; set; }

Input for question answering relevance metric.

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

### RougeInput

    public RougeInput RougeInput { get; set; }

Instances and metric spec for rouge metric.

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

### RubricBasedInstructionFollowingInput

    public RubricBasedInstructionFollowingInput RubricBasedInstructionFollowingInput { get; set; }

Rubric Based Instruction Following metric.

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

### SafetyInput

    public SafetyInput SafetyInput { get; set; }

Input for safety metric.

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

### SummarizationHelpfulnessInput

    public SummarizationHelpfulnessInput SummarizationHelpfulnessInput { get; set; }

Input for summarization helpfulness metric.

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

### SummarizationQualityInput

    public SummarizationQualityInput SummarizationQualityInput { get; set; }

Input for summarization quality metric.

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

### SummarizationVerbosityInput

    public SummarizationVerbosityInput SummarizationVerbosityInput { get; set; }

Input for summarization verbosity metric.

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

### ToolCallValidInput

    public ToolCallValidInput ToolCallValidInput { get; set; }

Tool call metric instances.
Input for tool call valid metric.

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

### ToolNameMatchInput

    public ToolNameMatchInput ToolNameMatchInput { get; set; }

Input for tool name match metric.

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

### ToolParameterKeyMatchInput

    public ToolParameterKeyMatchInput ToolParameterKeyMatchInput { get; set; }

Input for tool parameter key match metric.

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

### ToolParameterKvMatchInput

    public ToolParameterKVMatchInput ToolParameterKvMatchInput { get; set; }

Input for tool parameter key value match metric.

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

### TrajectoryAnyOrderMatchInput

    public TrajectoryAnyOrderMatchInput TrajectoryAnyOrderMatchInput { get; set; }

Input for trajectory match any order metric.

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

### TrajectoryExactMatchInput

    public TrajectoryExactMatchInput TrajectoryExactMatchInput { get; set; }

Input for trajectory exact match metric.

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

### TrajectoryInOrderMatchInput

    public TrajectoryInOrderMatchInput TrajectoryInOrderMatchInput { get; set; }

Input for trajectory in order match metric.

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

### TrajectoryPrecisionInput

    public TrajectoryPrecisionInput TrajectoryPrecisionInput { get; set; }

Input for trajectory precision metric.

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

### TrajectoryRecallInput

    public TrajectoryRecallInput TrajectoryRecallInput { get; set; }

Input for trajectory recall metric.

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

### TrajectorySingleToolUseInput

    public TrajectorySingleToolUseInput TrajectorySingleToolUseInput { get; set; }

Input for trajectory single tool use metric.

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