Class EvaluateInstancesResponse (3.56.0)

public final class EvaluateInstancesResponse extends GeneratedMessageV3 implements EvaluateInstancesResponseOrBuilder

Response message for EvaluationService.EvaluateInstances.

Protobuf type google.cloud.aiplatform.v1.EvaluateInstancesResponse

Static Fields

BLEU_RESULTS_FIELD_NUMBER

public static final int BLEU_RESULTS_FIELD_NUMBER
Field Value
Type Description
int

COHERENCE_RESULT_FIELD_NUMBER

public static final int COHERENCE_RESULT_FIELD_NUMBER
Field Value
Type Description
int

COMET_RESULT_FIELD_NUMBER

public static final int COMET_RESULT_FIELD_NUMBER
Field Value
Type Description
int

EXACT_MATCH_RESULTS_FIELD_NUMBER

public static final int EXACT_MATCH_RESULTS_FIELD_NUMBER
Field Value
Type Description
int

FLUENCY_RESULT_FIELD_NUMBER

public static final int FLUENCY_RESULT_FIELD_NUMBER
Field Value
Type Description
int

FULFILLMENT_RESULT_FIELD_NUMBER

public static final int FULFILLMENT_RESULT_FIELD_NUMBER
Field Value
Type Description
int

GROUNDEDNESS_RESULT_FIELD_NUMBER

public static final int GROUNDEDNESS_RESULT_FIELD_NUMBER
Field Value
Type Description
int

METRICX_RESULT_FIELD_NUMBER

public static final int METRICX_RESULT_FIELD_NUMBER
Field Value
Type Description
int

PAIRWISE_METRIC_RESULT_FIELD_NUMBER

public static final int PAIRWISE_METRIC_RESULT_FIELD_NUMBER
Field Value
Type Description
int

PAIRWISE_QUESTION_ANSWERING_QUALITY_RESULT_FIELD_NUMBER

public static final int PAIRWISE_QUESTION_ANSWERING_QUALITY_RESULT_FIELD_NUMBER
Field Value
Type Description
int

PAIRWISE_SUMMARIZATION_QUALITY_RESULT_FIELD_NUMBER

public static final int PAIRWISE_SUMMARIZATION_QUALITY_RESULT_FIELD_NUMBER
Field Value
Type Description
int

POINTWISE_METRIC_RESULT_FIELD_NUMBER

public static final int POINTWISE_METRIC_RESULT_FIELD_NUMBER
Field Value
Type Description
int

QUESTION_ANSWERING_CORRECTNESS_RESULT_FIELD_NUMBER

public static final int QUESTION_ANSWERING_CORRECTNESS_RESULT_FIELD_NUMBER
Field Value
Type Description
int

QUESTION_ANSWERING_HELPFULNESS_RESULT_FIELD_NUMBER

public static final int QUESTION_ANSWERING_HELPFULNESS_RESULT_FIELD_NUMBER
Field Value
Type Description
int

QUESTION_ANSWERING_QUALITY_RESULT_FIELD_NUMBER

public static final int QUESTION_ANSWERING_QUALITY_RESULT_FIELD_NUMBER
Field Value
Type Description
int

QUESTION_ANSWERING_RELEVANCE_RESULT_FIELD_NUMBER

public static final int QUESTION_ANSWERING_RELEVANCE_RESULT_FIELD_NUMBER
Field Value
Type Description
int

ROUGE_RESULTS_FIELD_NUMBER

public static final int ROUGE_RESULTS_FIELD_NUMBER
Field Value
Type Description
int

SAFETY_RESULT_FIELD_NUMBER

public static final int SAFETY_RESULT_FIELD_NUMBER
Field Value
Type Description
int

SUMMARIZATION_HELPFULNESS_RESULT_FIELD_NUMBER

public static final int SUMMARIZATION_HELPFULNESS_RESULT_FIELD_NUMBER
Field Value
Type Description
int

SUMMARIZATION_QUALITY_RESULT_FIELD_NUMBER

public static final int SUMMARIZATION_QUALITY_RESULT_FIELD_NUMBER
Field Value
Type Description
int

SUMMARIZATION_VERBOSITY_RESULT_FIELD_NUMBER

public static final int SUMMARIZATION_VERBOSITY_RESULT_FIELD_NUMBER
Field Value
Type Description
int

TOOL_CALL_VALID_RESULTS_FIELD_NUMBER

public static final int TOOL_CALL_VALID_RESULTS_FIELD_NUMBER
Field Value
Type Description
int

TOOL_NAME_MATCH_RESULTS_FIELD_NUMBER

public static final int TOOL_NAME_MATCH_RESULTS_FIELD_NUMBER
Field Value
Type Description
int

TOOL_PARAMETER_KEY_MATCH_RESULTS_FIELD_NUMBER

public static final int TOOL_PARAMETER_KEY_MATCH_RESULTS_FIELD_NUMBER
Field Value
Type Description
int

TOOL_PARAMETER_KV_MATCH_RESULTS_FIELD_NUMBER

public static final int TOOL_PARAMETER_KV_MATCH_RESULTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EvaluateInstancesResponse getDefaultInstance()
Returns
Type Description
EvaluateInstancesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(EvaluateInstancesResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBleuResults()

public BleuResults getBleuResults()

Results for bleu metric.

.google.cloud.aiplatform.v1.BleuResults bleu_results = 2;

Returns
Type Description
BleuResults

The bleuResults.

getBleuResultsOrBuilder()

public BleuResultsOrBuilder getBleuResultsOrBuilder()

Results for bleu metric.

.google.cloud.aiplatform.v1.BleuResults bleu_results = 2;

Returns
Type Description
BleuResultsOrBuilder

getCoherenceResult()

public CoherenceResult getCoherenceResult()

Result for coherence metric.

.google.cloud.aiplatform.v1.CoherenceResult coherence_result = 5;

Returns
Type Description
CoherenceResult

The coherenceResult.

getCoherenceResultOrBuilder()

public CoherenceResultOrBuilder getCoherenceResultOrBuilder()

Result for coherence metric.

.google.cloud.aiplatform.v1.CoherenceResult coherence_result = 5;

Returns
Type Description
CoherenceResultOrBuilder

getCometResult()

public CometResult getCometResult()

Translation metrics. Result for Comet metric.

.google.cloud.aiplatform.v1.CometResult comet_result = 29;

Returns
Type Description
CometResult

The cometResult.

getCometResultOrBuilder()

public CometResultOrBuilder getCometResultOrBuilder()

Translation metrics. Result for Comet metric.

.google.cloud.aiplatform.v1.CometResult comet_result = 29;

Returns
Type Description
CometResultOrBuilder

getDefaultInstanceForType()

public EvaluateInstancesResponse getDefaultInstanceForType()
Returns
Type Description
EvaluateInstancesResponse

getEvaluationResultsCase()

public EvaluateInstancesResponse.EvaluationResultsCase getEvaluationResultsCase()
Returns
Type Description
EvaluateInstancesResponse.EvaluationResultsCase

getExactMatchResults()

public ExactMatchResults getExactMatchResults()

Auto metric evaluation results. Results for exact match metric.

.google.cloud.aiplatform.v1.ExactMatchResults exact_match_results = 1;

Returns
Type Description
ExactMatchResults

The exactMatchResults.

getExactMatchResultsOrBuilder()

public ExactMatchResultsOrBuilder getExactMatchResultsOrBuilder()

Auto metric evaluation results. Results for exact match metric.

.google.cloud.aiplatform.v1.ExactMatchResults exact_match_results = 1;

Returns
Type Description
ExactMatchResultsOrBuilder

getFluencyResult()

public FluencyResult getFluencyResult()

LLM-based metric evaluation result. General text generation metrics, applicable to other categories. Result for fluency metric.

.google.cloud.aiplatform.v1.FluencyResult fluency_result = 4;

Returns
Type Description
FluencyResult

The fluencyResult.

getFluencyResultOrBuilder()

public FluencyResultOrBuilder getFluencyResultOrBuilder()

LLM-based metric evaluation result. General text generation metrics, applicable to other categories. Result for fluency metric.

.google.cloud.aiplatform.v1.FluencyResult fluency_result = 4;

Returns
Type Description
FluencyResultOrBuilder

getFulfillmentResult()

public FulfillmentResult getFulfillmentResult()

Result for fulfillment metric.

.google.cloud.aiplatform.v1.FulfillmentResult fulfillment_result = 11;

Returns
Type Description
FulfillmentResult

The fulfillmentResult.

getFulfillmentResultOrBuilder()

public FulfillmentResultOrBuilder getFulfillmentResultOrBuilder()

Result for fulfillment metric.

.google.cloud.aiplatform.v1.FulfillmentResult fulfillment_result = 11;

Returns
Type Description
FulfillmentResultOrBuilder

getGroundednessResult()

public GroundednessResult getGroundednessResult()

Result for groundedness metric.

.google.cloud.aiplatform.v1.GroundednessResult groundedness_result = 8;

Returns
Type Description
GroundednessResult

The groundednessResult.

getGroundednessResultOrBuilder()

public GroundednessResultOrBuilder getGroundednessResultOrBuilder()

Result for groundedness metric.

.google.cloud.aiplatform.v1.GroundednessResult groundedness_result = 8;

Returns
Type Description
GroundednessResultOrBuilder

getMetricxResult()

public MetricxResult getMetricxResult()

Result for Metricx metric.

.google.cloud.aiplatform.v1.MetricxResult metricx_result = 30;

Returns
Type Description
MetricxResult

The metricxResult.

getMetricxResultOrBuilder()

public MetricxResultOrBuilder getMetricxResultOrBuilder()

Result for Metricx metric.

.google.cloud.aiplatform.v1.MetricxResult metricx_result = 30;

Returns
Type Description
MetricxResultOrBuilder

getPairwiseMetricResult()

public PairwiseMetricResult getPairwiseMetricResult()

Result for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricResult pairwise_metric_result = 28;

Returns
Type Description
PairwiseMetricResult

The pairwiseMetricResult.

getPairwiseMetricResultOrBuilder()

public PairwiseMetricResultOrBuilder getPairwiseMetricResultOrBuilder()

Result for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricResult pairwise_metric_result = 28;

Returns
Type Description
PairwiseMetricResultOrBuilder

getPairwiseQuestionAnsweringQualityResult()

public PairwiseQuestionAnsweringQualityResult getPairwiseQuestionAnsweringQualityResult()

Result for pairwise question answering quality metric.

.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityResult pairwise_question_answering_quality_result = 23;

Returns
Type Description
PairwiseQuestionAnsweringQualityResult

The pairwiseQuestionAnsweringQualityResult.

getPairwiseQuestionAnsweringQualityResultOrBuilder()

public PairwiseQuestionAnsweringQualityResultOrBuilder getPairwiseQuestionAnsweringQualityResultOrBuilder()

Result for pairwise question answering quality metric.

.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityResult pairwise_question_answering_quality_result = 23;

Returns
Type Description
PairwiseQuestionAnsweringQualityResultOrBuilder

getPairwiseSummarizationQualityResult()

public PairwiseSummarizationQualityResult getPairwiseSummarizationQualityResult()

Result for pairwise summarization quality metric.

.google.cloud.aiplatform.v1.PairwiseSummarizationQualityResult pairwise_summarization_quality_result = 22;

Returns
Type Description
PairwiseSummarizationQualityResult

The pairwiseSummarizationQualityResult.

getPairwiseSummarizationQualityResultOrBuilder()

public PairwiseSummarizationQualityResultOrBuilder getPairwiseSummarizationQualityResultOrBuilder()

Result for pairwise summarization quality metric.

.google.cloud.aiplatform.v1.PairwiseSummarizationQualityResult pairwise_summarization_quality_result = 22;

Returns
Type Description
PairwiseSummarizationQualityResultOrBuilder

getParserForType()

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

getPointwiseMetricResult()

public PointwiseMetricResult getPointwiseMetricResult()

Generic metrics. Result for pointwise metric.

.google.cloud.aiplatform.v1.PointwiseMetricResult pointwise_metric_result = 27;

Returns
Type Description
PointwiseMetricResult

The pointwiseMetricResult.

getPointwiseMetricResultOrBuilder()

public PointwiseMetricResultOrBuilder getPointwiseMetricResultOrBuilder()

Generic metrics. Result for pointwise metric.

.google.cloud.aiplatform.v1.PointwiseMetricResult pointwise_metric_result = 27;

Returns
Type Description
PointwiseMetricResultOrBuilder

getQuestionAnsweringCorrectnessResult()

public QuestionAnsweringCorrectnessResult getQuestionAnsweringCorrectnessResult()

Result for question answering correctness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;

Returns
Type Description
QuestionAnsweringCorrectnessResult

The questionAnsweringCorrectnessResult.

getQuestionAnsweringCorrectnessResultOrBuilder()

public QuestionAnsweringCorrectnessResultOrBuilder getQuestionAnsweringCorrectnessResultOrBuilder()

Result for question answering correctness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;

Returns
Type Description
QuestionAnsweringCorrectnessResultOrBuilder

getQuestionAnsweringHelpfulnessResult()

public QuestionAnsweringHelpfulnessResult getQuestionAnsweringHelpfulnessResult()

Result for question answering helpfulness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessResult question_answering_helpfulness_result = 16;

Returns
Type Description
QuestionAnsweringHelpfulnessResult

The questionAnsweringHelpfulnessResult.

getQuestionAnsweringHelpfulnessResultOrBuilder()

public QuestionAnsweringHelpfulnessResultOrBuilder getQuestionAnsweringHelpfulnessResultOrBuilder()

Result for question answering helpfulness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessResult question_answering_helpfulness_result = 16;

Returns
Type Description
QuestionAnsweringHelpfulnessResultOrBuilder

getQuestionAnsweringQualityResult()

public QuestionAnsweringQualityResult getQuestionAnsweringQualityResult()

Question answering only metrics. Result for question answering quality metric.

.google.cloud.aiplatform.v1.QuestionAnsweringQualityResult question_answering_quality_result = 9;

Returns
Type Description
QuestionAnsweringQualityResult

The questionAnsweringQualityResult.

getQuestionAnsweringQualityResultOrBuilder()

public QuestionAnsweringQualityResultOrBuilder getQuestionAnsweringQualityResultOrBuilder()

Question answering only metrics. Result for question answering quality metric.

.google.cloud.aiplatform.v1.QuestionAnsweringQualityResult question_answering_quality_result = 9;

Returns
Type Description
QuestionAnsweringQualityResultOrBuilder

getQuestionAnsweringRelevanceResult()

public QuestionAnsweringRelevanceResult getQuestionAnsweringRelevanceResult()

Result for question answering relevance metric.

.google.cloud.aiplatform.v1.QuestionAnsweringRelevanceResult question_answering_relevance_result = 15;

Returns
Type Description
QuestionAnsweringRelevanceResult

The questionAnsweringRelevanceResult.

getQuestionAnsweringRelevanceResultOrBuilder()

public QuestionAnsweringRelevanceResultOrBuilder getQuestionAnsweringRelevanceResultOrBuilder()

Result for question answering relevance metric.

.google.cloud.aiplatform.v1.QuestionAnsweringRelevanceResult question_answering_relevance_result = 15;

Returns
Type Description
QuestionAnsweringRelevanceResultOrBuilder

getRougeResults()

public RougeResults getRougeResults()

Results for rouge metric.

.google.cloud.aiplatform.v1.RougeResults rouge_results = 3;

Returns
Type Description
RougeResults

The rougeResults.

getRougeResultsOrBuilder()

public RougeResultsOrBuilder getRougeResultsOrBuilder()

Results for rouge metric.

.google.cloud.aiplatform.v1.RougeResults rouge_results = 3;

Returns
Type Description
RougeResultsOrBuilder

getSafetyResult()

public SafetyResult getSafetyResult()

Result for safety metric.

.google.cloud.aiplatform.v1.SafetyResult safety_result = 7;

Returns
Type Description
SafetyResult

The safetyResult.

getSafetyResultOrBuilder()

public SafetyResultOrBuilder getSafetyResultOrBuilder()

Result for safety metric.

.google.cloud.aiplatform.v1.SafetyResult safety_result = 7;

Returns
Type Description
SafetyResultOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSummarizationHelpfulnessResult()

public SummarizationHelpfulnessResult getSummarizationHelpfulnessResult()

Result for summarization helpfulness metric.

.google.cloud.aiplatform.v1.SummarizationHelpfulnessResult summarization_helpfulness_result = 13;

Returns
Type Description
SummarizationHelpfulnessResult

The summarizationHelpfulnessResult.

getSummarizationHelpfulnessResultOrBuilder()

public SummarizationHelpfulnessResultOrBuilder getSummarizationHelpfulnessResultOrBuilder()

Result for summarization helpfulness metric.

.google.cloud.aiplatform.v1.SummarizationHelpfulnessResult summarization_helpfulness_result = 13;

Returns
Type Description
SummarizationHelpfulnessResultOrBuilder

getSummarizationQualityResult()

public SummarizationQualityResult getSummarizationQualityResult()

Summarization only metrics. Result for summarization quality metric.

.google.cloud.aiplatform.v1.SummarizationQualityResult summarization_quality_result = 6;

Returns
Type Description
SummarizationQualityResult

The summarizationQualityResult.

getSummarizationQualityResultOrBuilder()

public SummarizationQualityResultOrBuilder getSummarizationQualityResultOrBuilder()

Summarization only metrics. Result for summarization quality metric.

.google.cloud.aiplatform.v1.SummarizationQualityResult summarization_quality_result = 6;

Returns
Type Description
SummarizationQualityResultOrBuilder

getSummarizationVerbosityResult()

public SummarizationVerbosityResult getSummarizationVerbosityResult()

Result for summarization verbosity metric.

.google.cloud.aiplatform.v1.SummarizationVerbosityResult summarization_verbosity_result = 14;

Returns
Type Description
SummarizationVerbosityResult

The summarizationVerbosityResult.

getSummarizationVerbosityResultOrBuilder()

public SummarizationVerbosityResultOrBuilder getSummarizationVerbosityResultOrBuilder()

Result for summarization verbosity metric.

.google.cloud.aiplatform.v1.SummarizationVerbosityResult summarization_verbosity_result = 14;

Returns
Type Description
SummarizationVerbosityResultOrBuilder

getToolCallValidResults()

public ToolCallValidResults getToolCallValidResults()

Tool call metrics. Results for tool call valid metric.

.google.cloud.aiplatform.v1.ToolCallValidResults tool_call_valid_results = 18;

Returns
Type Description
ToolCallValidResults

The toolCallValidResults.

getToolCallValidResultsOrBuilder()

public ToolCallValidResultsOrBuilder getToolCallValidResultsOrBuilder()

Tool call metrics. Results for tool call valid metric.

.google.cloud.aiplatform.v1.ToolCallValidResults tool_call_valid_results = 18;

Returns
Type Description
ToolCallValidResultsOrBuilder

getToolNameMatchResults()

public ToolNameMatchResults getToolNameMatchResults()

Results for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchResults tool_name_match_results = 19;

Returns
Type Description
ToolNameMatchResults

The toolNameMatchResults.

getToolNameMatchResultsOrBuilder()

public ToolNameMatchResultsOrBuilder getToolNameMatchResultsOrBuilder()

Results for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchResults tool_name_match_results = 19;

Returns
Type Description
ToolNameMatchResultsOrBuilder

getToolParameterKeyMatchResults()

public ToolParameterKeyMatchResults getToolParameterKeyMatchResults()

Results for tool parameter key match metric.

.google.cloud.aiplatform.v1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;

Returns
Type Description
ToolParameterKeyMatchResults

The toolParameterKeyMatchResults.

getToolParameterKeyMatchResultsOrBuilder()

public ToolParameterKeyMatchResultsOrBuilder getToolParameterKeyMatchResultsOrBuilder()

Results for tool parameter key match metric.

.google.cloud.aiplatform.v1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;

Returns
Type Description
ToolParameterKeyMatchResultsOrBuilder

getToolParameterKvMatchResults()

public ToolParameterKVMatchResults getToolParameterKvMatchResults()

Results for tool parameter key value match metric.

.google.cloud.aiplatform.v1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;

Returns
Type Description
ToolParameterKVMatchResults

The toolParameterKvMatchResults.

getToolParameterKvMatchResultsOrBuilder()

public ToolParameterKVMatchResultsOrBuilder getToolParameterKvMatchResultsOrBuilder()

Results for tool parameter key value match metric.

.google.cloud.aiplatform.v1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;

Returns
Type Description
ToolParameterKVMatchResultsOrBuilder

hasBleuResults()

public boolean hasBleuResults()

Results for bleu metric.

.google.cloud.aiplatform.v1.BleuResults bleu_results = 2;

Returns
Type Description
boolean

Whether the bleuResults field is set.

hasCoherenceResult()

public boolean hasCoherenceResult()

Result for coherence metric.

.google.cloud.aiplatform.v1.CoherenceResult coherence_result = 5;

Returns
Type Description
boolean

Whether the coherenceResult field is set.

hasCometResult()

public boolean hasCometResult()

Translation metrics. Result for Comet metric.

.google.cloud.aiplatform.v1.CometResult comet_result = 29;

Returns
Type Description
boolean

Whether the cometResult field is set.

hasExactMatchResults()

public boolean hasExactMatchResults()

Auto metric evaluation results. Results for exact match metric.

.google.cloud.aiplatform.v1.ExactMatchResults exact_match_results = 1;

Returns
Type Description
boolean

Whether the exactMatchResults field is set.

hasFluencyResult()

public boolean hasFluencyResult()

LLM-based metric evaluation result. General text generation metrics, applicable to other categories. Result for fluency metric.

.google.cloud.aiplatform.v1.FluencyResult fluency_result = 4;

Returns
Type Description
boolean

Whether the fluencyResult field is set.

hasFulfillmentResult()

public boolean hasFulfillmentResult()

Result for fulfillment metric.

.google.cloud.aiplatform.v1.FulfillmentResult fulfillment_result = 11;

Returns
Type Description
boolean

Whether the fulfillmentResult field is set.

hasGroundednessResult()

public boolean hasGroundednessResult()

Result for groundedness metric.

.google.cloud.aiplatform.v1.GroundednessResult groundedness_result = 8;

Returns
Type Description
boolean

Whether the groundednessResult field is set.

hasMetricxResult()

public boolean hasMetricxResult()

Result for Metricx metric.

.google.cloud.aiplatform.v1.MetricxResult metricx_result = 30;

Returns
Type Description
boolean

Whether the metricxResult field is set.

hasPairwiseMetricResult()

public boolean hasPairwiseMetricResult()

Result for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricResult pairwise_metric_result = 28;

Returns
Type Description
boolean

Whether the pairwiseMetricResult field is set.

hasPairwiseQuestionAnsweringQualityResult()

public boolean hasPairwiseQuestionAnsweringQualityResult()

Result for pairwise question answering quality metric.

.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityResult pairwise_question_answering_quality_result = 23;

Returns
Type Description
boolean

Whether the pairwiseQuestionAnsweringQualityResult field is set.

hasPairwiseSummarizationQualityResult()

public boolean hasPairwiseSummarizationQualityResult()

Result for pairwise summarization quality metric.

.google.cloud.aiplatform.v1.PairwiseSummarizationQualityResult pairwise_summarization_quality_result = 22;

Returns
Type Description
boolean

Whether the pairwiseSummarizationQualityResult field is set.

hasPointwiseMetricResult()

public boolean hasPointwiseMetricResult()

Generic metrics. Result for pointwise metric.

.google.cloud.aiplatform.v1.PointwiseMetricResult pointwise_metric_result = 27;

Returns
Type Description
boolean

Whether the pointwiseMetricResult field is set.

hasQuestionAnsweringCorrectnessResult()

public boolean hasQuestionAnsweringCorrectnessResult()

Result for question answering correctness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17;

Returns
Type Description
boolean

Whether the questionAnsweringCorrectnessResult field is set.

hasQuestionAnsweringHelpfulnessResult()

public boolean hasQuestionAnsweringHelpfulnessResult()

Result for question answering helpfulness metric.

.google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessResult question_answering_helpfulness_result = 16;

Returns
Type Description
boolean

Whether the questionAnsweringHelpfulnessResult field is set.

hasQuestionAnsweringQualityResult()

public boolean hasQuestionAnsweringQualityResult()

Question answering only metrics. Result for question answering quality metric.

.google.cloud.aiplatform.v1.QuestionAnsweringQualityResult question_answering_quality_result = 9;

Returns
Type Description
boolean

Whether the questionAnsweringQualityResult field is set.

hasQuestionAnsweringRelevanceResult()

public boolean hasQuestionAnsweringRelevanceResult()

Result for question answering relevance metric.

.google.cloud.aiplatform.v1.QuestionAnsweringRelevanceResult question_answering_relevance_result = 15;

Returns
Type Description
boolean

Whether the questionAnsweringRelevanceResult field is set.

hasRougeResults()

public boolean hasRougeResults()

Results for rouge metric.

.google.cloud.aiplatform.v1.RougeResults rouge_results = 3;

Returns
Type Description
boolean

Whether the rougeResults field is set.

hasSafetyResult()

public boolean hasSafetyResult()

Result for safety metric.

.google.cloud.aiplatform.v1.SafetyResult safety_result = 7;

Returns
Type Description
boolean

Whether the safetyResult field is set.

hasSummarizationHelpfulnessResult()

public boolean hasSummarizationHelpfulnessResult()

Result for summarization helpfulness metric.

.google.cloud.aiplatform.v1.SummarizationHelpfulnessResult summarization_helpfulness_result = 13;

Returns
Type Description
boolean

Whether the summarizationHelpfulnessResult field is set.

hasSummarizationQualityResult()

public boolean hasSummarizationQualityResult()

Summarization only metrics. Result for summarization quality metric.

.google.cloud.aiplatform.v1.SummarizationQualityResult summarization_quality_result = 6;

Returns
Type Description
boolean

Whether the summarizationQualityResult field is set.

hasSummarizationVerbosityResult()

public boolean hasSummarizationVerbosityResult()

Result for summarization verbosity metric.

.google.cloud.aiplatform.v1.SummarizationVerbosityResult summarization_verbosity_result = 14;

Returns
Type Description
boolean

Whether the summarizationVerbosityResult field is set.

hasToolCallValidResults()

public boolean hasToolCallValidResults()

Tool call metrics. Results for tool call valid metric.

.google.cloud.aiplatform.v1.ToolCallValidResults tool_call_valid_results = 18;

Returns
Type Description
boolean

Whether the toolCallValidResults field is set.

hasToolNameMatchResults()

public boolean hasToolNameMatchResults()

Results for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchResults tool_name_match_results = 19;

Returns
Type Description
boolean

Whether the toolNameMatchResults field is set.

hasToolParameterKeyMatchResults()

public boolean hasToolParameterKeyMatchResults()

Results for tool parameter key match metric.

.google.cloud.aiplatform.v1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20;

Returns
Type Description
boolean

Whether the toolParameterKeyMatchResults field is set.

hasToolParameterKvMatchResults()

public boolean hasToolParameterKvMatchResults()

Results for tool parameter key value match metric.

.google.cloud.aiplatform.v1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21;

Returns
Type Description
boolean

Whether the toolParameterKvMatchResults 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 EvaluateInstancesResponse.Builder newBuilderForType()
Returns
Type Description
EvaluateInstancesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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