1.0.0-beta87 (latest) 1.0.0-beta86

    [BindServiceMethod(typeof(EvaluationService), "BindService")]
    public abstract class EvaluationService.EvaluationServiceBase

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

Base class for server-side implementations of EvaluationService

## Inheritance

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

## 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.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [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

## Methods

### EvaluateDataset(EvaluateDatasetRequest, ServerCallContext)

    public virtual Task<Operation> EvaluateDataset(EvaluateDatasetRequest request, ServerCallContext context)

Evaluates a dataset based on a set of given metrics.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.EvaluateDatasetRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation.html` | The response to send back to the client (wrapped by a task). |

### EvaluateInstances(EvaluateInstancesRequest, ServerCallContext)

    public virtual Task<EvaluateInstancesResponse> EvaluateInstances(EvaluateInstancesRequest request, ServerCallContext context)

Evaluates instances based on a given metric.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.EvaluateInstancesRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.EvaluateInstancesResponse` | The response to send back to the client (wrapped by a task). |

### GenerateInstanceRubrics(GenerateInstanceRubricsRequest, ServerCallContext)

    public virtual Task<GenerateInstanceRubricsResponse> GenerateInstanceRubrics(GenerateInstanceRubricsRequest request, ServerCallContext context)

Generates rubrics for a given prompt.
A rubric represents a single testable criterion for evaluation.
One input prompt could have multiple rubrics
This RPC allows users to get suggested rubrics based on provided prompt,
which can then be reviewed and used for subsequent evaluations.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GenerateInstanceRubricsRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GenerateInstanceRubricsResponse` | The response to send back to the client (wrapped by a task). |