Class EvaluateInstancesRequest (3.46.0)

public final class EvaluateInstancesRequest extends GeneratedMessageV3 implements EvaluateInstancesRequestOrBuilder

Request message for EvaluationService.EvaluateInstances.

Protobuf type google.cloud.aiplatform.v1beta1.EvaluateInstancesRequest

Static Fields

BLEU_INPUT_FIELD_NUMBER

public static final int BLEU_INPUT_FIELD_NUMBER
Field Value
Type Description
int

COHERENCE_INPUT_FIELD_NUMBER

public static final int COHERENCE_INPUT_FIELD_NUMBER
Field Value
Type Description
int

EXACT_MATCH_INPUT_FIELD_NUMBER

public static final int EXACT_MATCH_INPUT_FIELD_NUMBER
Field Value
Type Description
int

FLUENCY_INPUT_FIELD_NUMBER

public static final int FLUENCY_INPUT_FIELD_NUMBER
Field Value
Type Description
int

FULFILLMENT_INPUT_FIELD_NUMBER

public static final int FULFILLMENT_INPUT_FIELD_NUMBER
Field Value
Type Description
int

GROUNDEDNESS_INPUT_FIELD_NUMBER

public static final int GROUNDEDNESS_INPUT_FIELD_NUMBER
Field Value
Type Description
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
Type Description
int

PAIRWISE_QUESTION_ANSWERING_QUALITY_INPUT_FIELD_NUMBER

public static final int PAIRWISE_QUESTION_ANSWERING_QUALITY_INPUT_FIELD_NUMBER
Field Value
Type Description
int

PAIRWISE_SUMMARIZATION_QUALITY_INPUT_FIELD_NUMBER

public static final int PAIRWISE_SUMMARIZATION_QUALITY_INPUT_FIELD_NUMBER
Field Value
Type Description
int

QUESTION_ANSWERING_CORRECTNESS_INPUT_FIELD_NUMBER

public static final int QUESTION_ANSWERING_CORRECTNESS_INPUT_FIELD_NUMBER
Field Value
Type Description
int

QUESTION_ANSWERING_HELPFULNESS_INPUT_FIELD_NUMBER

public static final int QUESTION_ANSWERING_HELPFULNESS_INPUT_FIELD_NUMBER
Field Value
Type Description
int

QUESTION_ANSWERING_QUALITY_INPUT_FIELD_NUMBER

public static final int QUESTION_ANSWERING_QUALITY_INPUT_FIELD_NUMBER
Field Value
Type Description
int

QUESTION_ANSWERING_RELEVANCE_INPUT_FIELD_NUMBER

public static final int QUESTION_ANSWERING_RELEVANCE_INPUT_FIELD_NUMBER
Field Value
Type Description
int

ROUGE_INPUT_FIELD_NUMBER

public static final int ROUGE_INPUT_FIELD_NUMBER
Field Value
Type Description
int

SAFETY_INPUT_FIELD_NUMBER

public static final int SAFETY_INPUT_FIELD_NUMBER
Field Value
Type Description
int

SUMMARIZATION_HELPFULNESS_INPUT_FIELD_NUMBER

public static final int SUMMARIZATION_HELPFULNESS_INPUT_FIELD_NUMBER
Field Value
Type Description
int

SUMMARIZATION_QUALITY_INPUT_FIELD_NUMBER

public static final int SUMMARIZATION_QUALITY_INPUT_FIELD_NUMBER
Field Value
Type Description
int

SUMMARIZATION_VERBOSITY_INPUT_FIELD_NUMBER

public static final int SUMMARIZATION_VERBOSITY_INPUT_FIELD_NUMBER
Field Value
Type Description
int

TOOL_CALL_VALID_INPUT_FIELD_NUMBER

public static final int TOOL_CALL_VALID_INPUT_FIELD_NUMBER
Field Value
Type Description
int

TOOL_NAME_MATCH_INPUT_FIELD_NUMBER

public static final int TOOL_NAME_MATCH_INPUT_FIELD_NUMBER
Field Value
Type Description
int

TOOL_PARAMETER_KEY_MATCH_INPUT_FIELD_NUMBER

public static final int TOOL_PARAMETER_KEY_MATCH_INPUT_FIELD_NUMBER
Field Value
Type Description
int

TOOL_PARAMETER_KV_MATCH_INPUT_FIELD_NUMBER

public static final int TOOL_PARAMETER_KV_MATCH_INPUT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EvaluateInstancesRequest getDefaultInstance()
Returns
Type Description
EvaluateInstancesRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static EvaluateInstancesRequest.Builder newBuilder()
Returns
Type Description
EvaluateInstancesRequest.Builder

newBuilder(EvaluateInstancesRequest prototype)

public static EvaluateInstancesRequest.Builder newBuilder(EvaluateInstancesRequest prototype)
Parameter
Name Description
prototype EvaluateInstancesRequest
Returns
Type Description
EvaluateInstancesRequest.Builder

parseDelimitedFrom(InputStream input)

public static EvaluateInstancesRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EvaluateInstancesRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluateInstancesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluateInstancesRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EvaluateInstancesRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EvaluateInstancesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EvaluateInstancesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluateInstancesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EvaluateInstancesRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EvaluateInstancesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EvaluateInstancesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluateInstancesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EvaluateInstancesRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EvaluateInstancesRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluateInstancesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluateInstancesRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EvaluateInstancesRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EvaluateInstancesRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluateInstancesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluateInstancesRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EvaluateInstancesRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EvaluateInstancesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EvaluateInstancesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluateInstancesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EvaluateInstancesRequest> parser()
Returns
Type Description
Parser<EvaluateInstancesRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBleuInput()

public BleuInput getBleuInput()

Instances and metric spec for bleu metric.

.google.cloud.aiplatform.v1beta1.BleuInput bleu_input = 3;

Returns
Type Description
BleuInput

The bleuInput.

getBleuInputOrBuilder()

public BleuInputOrBuilder getBleuInputOrBuilder()

Instances and metric spec for bleu metric.

.google.cloud.aiplatform.v1beta1.BleuInput bleu_input = 3;

Returns
Type Description
BleuInputOrBuilder

getCoherenceInput()

public CoherenceInput getCoherenceInput()

Input for coherence metric.

.google.cloud.aiplatform.v1beta1.CoherenceInput coherence_input = 6;

Returns
Type Description
CoherenceInput

The coherenceInput.

getCoherenceInputOrBuilder()

public CoherenceInputOrBuilder getCoherenceInputOrBuilder()

Input for coherence metric.

.google.cloud.aiplatform.v1beta1.CoherenceInput coherence_input = 6;

Returns
Type Description
CoherenceInputOrBuilder

getDefaultInstanceForType()

public EvaluateInstancesRequest getDefaultInstanceForType()
Returns
Type Description
EvaluateInstancesRequest

getExactMatchInput()

public ExactMatchInput getExactMatchInput()

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

.google.cloud.aiplatform.v1beta1.ExactMatchInput exact_match_input = 2;

Returns
Type Description
ExactMatchInput

The exactMatchInput.

getExactMatchInputOrBuilder()

public ExactMatchInputOrBuilder getExactMatchInputOrBuilder()

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

.google.cloud.aiplatform.v1beta1.ExactMatchInput exact_match_input = 2;

Returns
Type Description
ExactMatchInputOrBuilder

getFluencyInput()

public FluencyInput getFluencyInput()

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

.google.cloud.aiplatform.v1beta1.FluencyInput fluency_input = 5;

Returns
Type Description
FluencyInput

The fluencyInput.

getFluencyInputOrBuilder()

public FluencyInputOrBuilder getFluencyInputOrBuilder()

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

.google.cloud.aiplatform.v1beta1.FluencyInput fluency_input = 5;

Returns
Type Description
FluencyInputOrBuilder

getFulfillmentInput()

public FulfillmentInput getFulfillmentInput()

Input for fulfillment metric.

.google.cloud.aiplatform.v1beta1.FulfillmentInput fulfillment_input = 12;

Returns
Type Description
FulfillmentInput

The fulfillmentInput.

getFulfillmentInputOrBuilder()

public FulfillmentInputOrBuilder getFulfillmentInputOrBuilder()

Input for fulfillment metric.

.google.cloud.aiplatform.v1beta1.FulfillmentInput fulfillment_input = 12;

Returns
Type Description
FulfillmentInputOrBuilder

getGroundednessInput()

public GroundednessInput getGroundednessInput()

Input for groundedness metric.

.google.cloud.aiplatform.v1beta1.GroundednessInput groundedness_input = 9;

Returns
Type Description
GroundednessInput

The groundednessInput.

getGroundednessInputOrBuilder()

public GroundednessInputOrBuilder getGroundednessInputOrBuilder()

Input for groundedness metric.

.google.cloud.aiplatform.v1beta1.GroundednessInput groundedness_input = 9;

Returns
Type Description
GroundednessInputOrBuilder

getLocation()

public String getLocation()

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

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

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

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for location.

getMetricInputsCase()

public EvaluateInstancesRequest.MetricInputsCase getMetricInputsCase()
Returns
Type Description
EvaluateInstancesRequest.MetricInputsCase

getPairwiseQuestionAnsweringQualityInput()

public PairwiseQuestionAnsweringQualityInput getPairwiseQuestionAnsweringQualityInput()

Input for pairwise question answering quality metric.

.google.cloud.aiplatform.v1beta1.PairwiseQuestionAnsweringQualityInput pairwise_question_answering_quality_input = 24;

Returns
Type Description
PairwiseQuestionAnsweringQualityInput

The pairwiseQuestionAnsweringQualityInput.

getPairwiseQuestionAnsweringQualityInputOrBuilder()

public PairwiseQuestionAnsweringQualityInputOrBuilder getPairwiseQuestionAnsweringQualityInputOrBuilder()

Input for pairwise question answering quality metric.

.google.cloud.aiplatform.v1beta1.PairwiseQuestionAnsweringQualityInput pairwise_question_answering_quality_input = 24;

Returns
Type Description
PairwiseQuestionAnsweringQualityInputOrBuilder

getPairwiseSummarizationQualityInput()

public PairwiseSummarizationQualityInput getPairwiseSummarizationQualityInput()

Input for pairwise summarization quality metric.

.google.cloud.aiplatform.v1beta1.PairwiseSummarizationQualityInput pairwise_summarization_quality_input = 23;

Returns
Type Description
PairwiseSummarizationQualityInput

The pairwiseSummarizationQualityInput.

getPairwiseSummarizationQualityInputOrBuilder()

public PairwiseSummarizationQualityInputOrBuilder getPairwiseSummarizationQualityInputOrBuilder()

Input for pairwise summarization quality metric.

.google.cloud.aiplatform.v1beta1.PairwiseSummarizationQualityInput pairwise_summarization_quality_input = 23;

Returns
Type Description
PairwiseSummarizationQualityInputOrBuilder

getParserForType()

public Parser<EvaluateInstancesRequest> getParserForType()
Returns
Type Description
Parser<EvaluateInstancesRequest>
Overrides

getQuestionAnsweringCorrectnessInput()

public QuestionAnsweringCorrectnessInput getQuestionAnsweringCorrectnessInput()

Input for question answering correctness metric.

.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessInput question_answering_correctness_input = 18;

Returns
Type Description
QuestionAnsweringCorrectnessInput

The questionAnsweringCorrectnessInput.

getQuestionAnsweringCorrectnessInputOrBuilder()

public QuestionAnsweringCorrectnessInputOrBuilder getQuestionAnsweringCorrectnessInputOrBuilder()

Input for question answering correctness metric.

.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessInput question_answering_correctness_input = 18;

Returns
Type Description
QuestionAnsweringCorrectnessInputOrBuilder

getQuestionAnsweringHelpfulnessInput()

public QuestionAnsweringHelpfulnessInput getQuestionAnsweringHelpfulnessInput()

Input for question answering helpfulness metric.

.google.cloud.aiplatform.v1beta1.QuestionAnsweringHelpfulnessInput question_answering_helpfulness_input = 17;

Returns
Type Description
QuestionAnsweringHelpfulnessInput

The questionAnsweringHelpfulnessInput.

getQuestionAnsweringHelpfulnessInputOrBuilder()

public QuestionAnsweringHelpfulnessInputOrBuilder getQuestionAnsweringHelpfulnessInputOrBuilder()

Input for question answering helpfulness metric.

.google.cloud.aiplatform.v1beta1.QuestionAnsweringHelpfulnessInput question_answering_helpfulness_input = 17;

Returns
Type Description
QuestionAnsweringHelpfulnessInputOrBuilder

getQuestionAnsweringQualityInput()

public QuestionAnsweringQualityInput getQuestionAnsweringQualityInput()

Input for question answering quality metric.

.google.cloud.aiplatform.v1beta1.QuestionAnsweringQualityInput question_answering_quality_input = 10;

Returns
Type Description
QuestionAnsweringQualityInput

The questionAnsweringQualityInput.

getQuestionAnsweringQualityInputOrBuilder()

public QuestionAnsweringQualityInputOrBuilder getQuestionAnsweringQualityInputOrBuilder()

Input for question answering quality metric.

.google.cloud.aiplatform.v1beta1.QuestionAnsweringQualityInput question_answering_quality_input = 10;

Returns
Type Description
QuestionAnsweringQualityInputOrBuilder

getQuestionAnsweringRelevanceInput()

public QuestionAnsweringRelevanceInput getQuestionAnsweringRelevanceInput()

Input for question answering relevance metric.

.google.cloud.aiplatform.v1beta1.QuestionAnsweringRelevanceInput question_answering_relevance_input = 16;

Returns
Type Description
QuestionAnsweringRelevanceInput

The questionAnsweringRelevanceInput.

getQuestionAnsweringRelevanceInputOrBuilder()

public QuestionAnsweringRelevanceInputOrBuilder getQuestionAnsweringRelevanceInputOrBuilder()

Input for question answering relevance metric.

.google.cloud.aiplatform.v1beta1.QuestionAnsweringRelevanceInput question_answering_relevance_input = 16;

Returns
Type Description
QuestionAnsweringRelevanceInputOrBuilder

getRougeInput()

public RougeInput getRougeInput()

Instances and metric spec for rouge metric.

.google.cloud.aiplatform.v1beta1.RougeInput rouge_input = 4;

Returns
Type Description
RougeInput

The rougeInput.

getRougeInputOrBuilder()

public RougeInputOrBuilder getRougeInputOrBuilder()

Instances and metric spec for rouge metric.

.google.cloud.aiplatform.v1beta1.RougeInput rouge_input = 4;

Returns
Type Description
RougeInputOrBuilder

getSafetyInput()

public SafetyInput getSafetyInput()

Input for safety metric.

.google.cloud.aiplatform.v1beta1.SafetyInput safety_input = 8;

Returns
Type Description
SafetyInput

The safetyInput.

getSafetyInputOrBuilder()

public SafetyInputOrBuilder getSafetyInputOrBuilder()

Input for safety metric.

.google.cloud.aiplatform.v1beta1.SafetyInput safety_input = 8;

Returns
Type Description
SafetyInputOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSummarizationHelpfulnessInput()

public SummarizationHelpfulnessInput getSummarizationHelpfulnessInput()

Input for summarization helpfulness metric.

.google.cloud.aiplatform.v1beta1.SummarizationHelpfulnessInput summarization_helpfulness_input = 14;

Returns
Type Description
SummarizationHelpfulnessInput

The summarizationHelpfulnessInput.

getSummarizationHelpfulnessInputOrBuilder()

public SummarizationHelpfulnessInputOrBuilder getSummarizationHelpfulnessInputOrBuilder()

Input for summarization helpfulness metric.

.google.cloud.aiplatform.v1beta1.SummarizationHelpfulnessInput summarization_helpfulness_input = 14;

Returns
Type Description
SummarizationHelpfulnessInputOrBuilder

getSummarizationQualityInput()

public SummarizationQualityInput getSummarizationQualityInput()

Input for summarization quality metric.

.google.cloud.aiplatform.v1beta1.SummarizationQualityInput summarization_quality_input = 7;

Returns
Type Description
SummarizationQualityInput

The summarizationQualityInput.

getSummarizationQualityInputOrBuilder()

public SummarizationQualityInputOrBuilder getSummarizationQualityInputOrBuilder()

Input for summarization quality metric.

.google.cloud.aiplatform.v1beta1.SummarizationQualityInput summarization_quality_input = 7;

Returns
Type Description
SummarizationQualityInputOrBuilder

getSummarizationVerbosityInput()

public SummarizationVerbosityInput getSummarizationVerbosityInput()

Input for summarization verbosity metric.

.google.cloud.aiplatform.v1beta1.SummarizationVerbosityInput summarization_verbosity_input = 15;

Returns
Type Description
SummarizationVerbosityInput

The summarizationVerbosityInput.

getSummarizationVerbosityInputOrBuilder()

public SummarizationVerbosityInputOrBuilder getSummarizationVerbosityInputOrBuilder()

Input for summarization verbosity metric.

.google.cloud.aiplatform.v1beta1.SummarizationVerbosityInput summarization_verbosity_input = 15;

Returns
Type Description
SummarizationVerbosityInputOrBuilder

getToolCallValidInput()

public ToolCallValidInput getToolCallValidInput()

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

.google.cloud.aiplatform.v1beta1.ToolCallValidInput tool_call_valid_input = 19;

Returns
Type Description
ToolCallValidInput

The toolCallValidInput.

getToolCallValidInputOrBuilder()

public ToolCallValidInputOrBuilder getToolCallValidInputOrBuilder()

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

.google.cloud.aiplatform.v1beta1.ToolCallValidInput tool_call_valid_input = 19;

Returns
Type Description
ToolCallValidInputOrBuilder

getToolNameMatchInput()

public ToolNameMatchInput getToolNameMatchInput()

Input for tool name match metric.

.google.cloud.aiplatform.v1beta1.ToolNameMatchInput tool_name_match_input = 20;

Returns
Type Description
ToolNameMatchInput

The toolNameMatchInput.

getToolNameMatchInputOrBuilder()

public ToolNameMatchInputOrBuilder getToolNameMatchInputOrBuilder()

Input for tool name match metric.

.google.cloud.aiplatform.v1beta1.ToolNameMatchInput tool_name_match_input = 20;

Returns
Type Description
ToolNameMatchInputOrBuilder

getToolParameterKeyMatchInput()

public ToolParameterKeyMatchInput getToolParameterKeyMatchInput()

Input for tool parameter key match metric.

.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchInput tool_parameter_key_match_input = 21;

Returns
Type Description
ToolParameterKeyMatchInput

The toolParameterKeyMatchInput.

getToolParameterKeyMatchInputOrBuilder()

public ToolParameterKeyMatchInputOrBuilder getToolParameterKeyMatchInputOrBuilder()

Input for tool parameter key match metric.

.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchInput tool_parameter_key_match_input = 21;

Returns
Type Description
ToolParameterKeyMatchInputOrBuilder

getToolParameterKvMatchInput()

public ToolParameterKVMatchInput getToolParameterKvMatchInput()

Input for tool parameter key value match metric.

.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchInput tool_parameter_kv_match_input = 22;

Returns
Type Description
ToolParameterKVMatchInput

The toolParameterKvMatchInput.

getToolParameterKvMatchInputOrBuilder()

public ToolParameterKVMatchInputOrBuilder getToolParameterKvMatchInputOrBuilder()

Input for tool parameter key value match metric.

.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchInput tool_parameter_kv_match_input = 22;

Returns
Type Description
ToolParameterKVMatchInputOrBuilder

hasBleuInput()

public boolean hasBleuInput()

Instances and metric spec for bleu metric.

.google.cloud.aiplatform.v1beta1.BleuInput bleu_input = 3;

Returns
Type Description
boolean

Whether the bleuInput field is set.

hasCoherenceInput()

public boolean hasCoherenceInput()

Input for coherence metric.

.google.cloud.aiplatform.v1beta1.CoherenceInput coherence_input = 6;

Returns
Type Description
boolean

Whether the coherenceInput field is set.

hasExactMatchInput()

public boolean hasExactMatchInput()

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

.google.cloud.aiplatform.v1beta1.ExactMatchInput exact_match_input = 2;

Returns
Type Description
boolean

Whether the exactMatchInput field is set.

hasFluencyInput()

public boolean hasFluencyInput()

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

.google.cloud.aiplatform.v1beta1.FluencyInput fluency_input = 5;

Returns
Type Description
boolean

Whether the fluencyInput field is set.

hasFulfillmentInput()

public boolean hasFulfillmentInput()

Input for fulfillment metric.

.google.cloud.aiplatform.v1beta1.FulfillmentInput fulfillment_input = 12;

Returns
Type Description
boolean

Whether the fulfillmentInput field is set.

hasGroundednessInput()

public boolean hasGroundednessInput()

Input for groundedness metric.

.google.cloud.aiplatform.v1beta1.GroundednessInput groundedness_input = 9;

Returns
Type Description
boolean

Whether the groundednessInput field is set.

hasPairwiseQuestionAnsweringQualityInput()

public boolean hasPairwiseQuestionAnsweringQualityInput()

Input for pairwise question answering quality metric.

.google.cloud.aiplatform.v1beta1.PairwiseQuestionAnsweringQualityInput pairwise_question_answering_quality_input = 24;

Returns
Type Description
boolean

Whether the pairwiseQuestionAnsweringQualityInput field is set.

hasPairwiseSummarizationQualityInput()

public boolean hasPairwiseSummarizationQualityInput()

Input for pairwise summarization quality metric.

.google.cloud.aiplatform.v1beta1.PairwiseSummarizationQualityInput pairwise_summarization_quality_input = 23;

Returns
Type Description
boolean

Whether the pairwiseSummarizationQualityInput field is set.

hasQuestionAnsweringCorrectnessInput()

public boolean hasQuestionAnsweringCorrectnessInput()

Input for question answering correctness metric.

.google.cloud.aiplatform.v1beta1.QuestionAnsweringCorrectnessInput question_answering_correctness_input = 18;

Returns
Type Description
boolean

Whether the questionAnsweringCorrectnessInput field is set.

hasQuestionAnsweringHelpfulnessInput()

public boolean hasQuestionAnsweringHelpfulnessInput()

Input for question answering helpfulness metric.

.google.cloud.aiplatform.v1beta1.QuestionAnsweringHelpfulnessInput question_answering_helpfulness_input = 17;

Returns
Type Description
boolean

Whether the questionAnsweringHelpfulnessInput field is set.

hasQuestionAnsweringQualityInput()

public boolean hasQuestionAnsweringQualityInput()

Input for question answering quality metric.

.google.cloud.aiplatform.v1beta1.QuestionAnsweringQualityInput question_answering_quality_input = 10;

Returns
Type Description
boolean

Whether the questionAnsweringQualityInput field is set.

hasQuestionAnsweringRelevanceInput()

public boolean hasQuestionAnsweringRelevanceInput()

Input for question answering relevance metric.

.google.cloud.aiplatform.v1beta1.QuestionAnsweringRelevanceInput question_answering_relevance_input = 16;

Returns
Type Description
boolean

Whether the questionAnsweringRelevanceInput field is set.

hasRougeInput()

public boolean hasRougeInput()

Instances and metric spec for rouge metric.

.google.cloud.aiplatform.v1beta1.RougeInput rouge_input = 4;

Returns
Type Description
boolean

Whether the rougeInput field is set.

hasSafetyInput()

public boolean hasSafetyInput()

Input for safety metric.

.google.cloud.aiplatform.v1beta1.SafetyInput safety_input = 8;

Returns
Type Description
boolean

Whether the safetyInput field is set.

hasSummarizationHelpfulnessInput()

public boolean hasSummarizationHelpfulnessInput()

Input for summarization helpfulness metric.

.google.cloud.aiplatform.v1beta1.SummarizationHelpfulnessInput summarization_helpfulness_input = 14;

Returns
Type Description
boolean

Whether the summarizationHelpfulnessInput field is set.

hasSummarizationQualityInput()

public boolean hasSummarizationQualityInput()

Input for summarization quality metric.

.google.cloud.aiplatform.v1beta1.SummarizationQualityInput summarization_quality_input = 7;

Returns
Type Description
boolean

Whether the summarizationQualityInput field is set.

hasSummarizationVerbosityInput()

public boolean hasSummarizationVerbosityInput()

Input for summarization verbosity metric.

.google.cloud.aiplatform.v1beta1.SummarizationVerbosityInput summarization_verbosity_input = 15;

Returns
Type Description
boolean

Whether the summarizationVerbosityInput field is set.

hasToolCallValidInput()

public boolean hasToolCallValidInput()

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

.google.cloud.aiplatform.v1beta1.ToolCallValidInput tool_call_valid_input = 19;

Returns
Type Description
boolean

Whether the toolCallValidInput field is set.

hasToolNameMatchInput()

public boolean hasToolNameMatchInput()

Input for tool name match metric.

.google.cloud.aiplatform.v1beta1.ToolNameMatchInput tool_name_match_input = 20;

Returns
Type Description
boolean

Whether the toolNameMatchInput field is set.

hasToolParameterKeyMatchInput()

public boolean hasToolParameterKeyMatchInput()

Input for tool parameter key match metric.

.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchInput tool_parameter_key_match_input = 21;

Returns
Type Description
boolean

Whether the toolParameterKeyMatchInput field is set.

hasToolParameterKvMatchInput()

public boolean hasToolParameterKvMatchInput()

Input for tool parameter key value match metric.

.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchInput tool_parameter_kv_match_input = 22;

Returns
Type Description
boolean

Whether the toolParameterKvMatchInput field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EvaluateInstancesRequest.Builder newBuilderForType()
Returns
Type Description
EvaluateInstancesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EvaluateInstancesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EvaluateInstancesRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public EvaluateInstancesRequest.Builder toBuilder()
Returns
Type Description
EvaluateInstancesRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException