Show / Hide Table of Contents

Class GoogleCloudAiplatformV1EvaluationRequest

A single evaluation request supporting input for both single-turn model generation and multi-turn agent execution traces. Valid input modes: 1. Inference Mode: prompt is set (containing text or AgentData context). 2. Offline Eval Mode: prompt is unset, and candidate_responses contains agent_data (the completed execution trace). Validation Rule: Either prompt must be set, OR at least one of the candidate_responses must contain agent_data.

Inheritance
object
GoogleCloudAiplatformV1EvaluationRequest
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Aiplatform.v1.Data
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class GoogleCloudAiplatformV1EvaluationRequest : IDirectResponseSchema

Properties

CandidateResponses

Optional. Responses from model under test and other baseline models for comparison.

Declaration
[JsonProperty("candidateResponses")]
public virtual IList<GoogleCloudAiplatformV1CandidateResponse> CandidateResponses { get; set; }
Property Value
Type Description
IList<GoogleCloudAiplatformV1CandidateResponse>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

GoldenResponse

Optional. The Ideal response or ground truth.

Declaration
[JsonProperty("goldenResponse")]
public virtual GoogleCloudAiplatformV1CandidateResponse GoldenResponse { get; set; }
Property Value
Type Description
GoogleCloudAiplatformV1CandidateResponse

Prompt

Optional. The request/prompt to evaluate.

Declaration
[JsonProperty("prompt")]
public virtual GoogleCloudAiplatformV1EvaluationPrompt Prompt { get; set; }
Property Value
Type Description
GoogleCloudAiplatformV1EvaluationPrompt

Rubrics

Optional. Named groups of rubrics associated with this prompt. The key is a user-defined name for the rubric group.

Declaration
[JsonProperty("rubrics")]
public virtual IDictionary<string, GoogleCloudAiplatformV1RubricGroup> Rubrics { get; set; }
Property Value
Type Description
IDictionary<string, GoogleCloudAiplatformV1RubricGroup>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX