Class EvaluateInstancesResponse (3.41.0)

public final class EvaluateInstancesResponse extends GeneratedMessageV3 implements EvaluateInstancesResponseOrBuilder

Response message for EvaluationService.EvaluateInstances.

Protobuf type google.cloud.aiplatform.v1beta1.EvaluateInstancesResponse

Static Fields

BLEU_RESULTS_FIELD_NUMBER

public static final int BLEU_RESULTS_FIELD_NUMBER
Field Value
TypeDescription
int

COHERENCE_RESULT_FIELD_NUMBER

public static final int COHERENCE_RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

EXACT_MATCH_RESULTS_FIELD_NUMBER

public static final int EXACT_MATCH_RESULTS_FIELD_NUMBER
Field Value
TypeDescription
int

FLUENCY_RESULT_FIELD_NUMBER

public static final int FLUENCY_RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

FULFILLMENT_RESULT_FIELD_NUMBER

public static final int FULFILLMENT_RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

GROUNDEDNESS_RESULT_FIELD_NUMBER

public static final int GROUNDEDNESS_RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

PAIRWISE_QUESTION_ANSWERING_QUALITY_RESULT_FIELD_NUMBER

public static final int PAIRWISE_QUESTION_ANSWERING_QUALITY_RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

PAIRWISE_SUMMARIZATION_QUALITY_RESULT_FIELD_NUMBER

public static final int PAIRWISE_SUMMARIZATION_QUALITY_RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

QUESTION_ANSWERING_CORRECTNESS_RESULT_FIELD_NUMBER

public static final int QUESTION_ANSWERING_CORRECTNESS_RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

QUESTION_ANSWERING_HELPFULNESS_RESULT_FIELD_NUMBER

public static final int QUESTION_ANSWERING_HELPFULNESS_RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

QUESTION_ANSWERING_QUALITY_RESULT_FIELD_NUMBER

public static final int QUESTION_ANSWERING_QUALITY_RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

QUESTION_ANSWERING_RELEVANCE_RESULT_FIELD_NUMBER

public static final int QUESTION_ANSWERING_RELEVANCE_RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

RAG_CONTEXT_RECALL_RESULT_FIELD_NUMBER

public static final int RAG_CONTEXT_RECALL_RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

RESPONSE_RECALL_RESULT_FIELD_NUMBER

public static final int RESPONSE_RECALL_RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

ROUGE_RESULTS_FIELD_NUMBER

public static final int ROUGE_RESULTS_FIELD_NUMBER
Field Value
TypeDescription
int

SAFETY_RESULT_FIELD_NUMBER

public static final int SAFETY_RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

SUMMARIZATION_HELPFULNESS_RESULT_FIELD_NUMBER

public static final int SUMMARIZATION_HELPFULNESS_RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

SUMMARIZATION_QUALITY_RESULT_FIELD_NUMBER

public static final int SUMMARIZATION_QUALITY_RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

SUMMARIZATION_VERBOSITY_RESULT_FIELD_NUMBER

public static final int SUMMARIZATION_VERBOSITY_RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

TOOL_CALL_VALID_RESULTS_FIELD_NUMBER

public static final int TOOL_CALL_VALID_RESULTS_FIELD_NUMBER
Field Value
TypeDescription
int

TOOL_NAME_MATCH_RESULTS_FIELD_NUMBER

public static final int TOOL_NAME_MATCH_RESULTS_FIELD_NUMBER
Field Value
TypeDescription
int

TOOL_PARAMETER_KEY_MATCH_RESULTS_FIELD_NUMBER

public static final int TOOL_PARAMETER_KEY_MATCH_RESULTS_FIELD_NUMBER
Field Value
TypeDescription
int

TOOL_PARAMETER_KV_MATCH_RESULTS_FIELD_NUMBER

public static final int TOOL_PARAMETER_KV_MATCH_RESULTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EvaluateInstancesResponse getDefaultInstance()
Returns
TypeDescription
EvaluateInstancesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static EvaluateInstancesResponse.Builder newBuilder()
Returns
TypeDescription
EvaluateInstancesResponse.Builder

newBuilder(EvaluateInstancesResponse prototype)

public static EvaluateInstancesResponse.Builder newBuilder(EvaluateInstancesResponse prototype)
Parameter
NameDescription
prototypeEvaluateInstancesResponse
Returns
TypeDescription
EvaluateInstancesResponse.Builder

parseDelimitedFrom(InputStream input)

public static EvaluateInstancesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EvaluateInstancesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluateInstancesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluateInstancesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EvaluateInstancesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EvaluateInstancesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EvaluateInstancesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluateInstancesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EvaluateInstancesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EvaluateInstancesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EvaluateInstancesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluateInstancesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EvaluateInstancesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EvaluateInstancesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluateInstancesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluateInstancesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EvaluateInstancesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EvaluateInstancesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluateInstancesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluateInstancesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EvaluateInstancesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EvaluateInstancesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EvaluateInstancesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluateInstancesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EvaluateInstancesResponse> parser()
Returns
TypeDescription
Parser<EvaluateInstancesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBleuResults()

public BleuResults getBleuResults()

Results for bleu metric.

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

Returns
TypeDescription
BleuResults

The bleuResults.

getBleuResultsOrBuilder()

public BleuResultsOrBuilder getBleuResultsOrBuilder()

Results for bleu metric.

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

Returns
TypeDescription
BleuResultsOrBuilder

getCoherenceResult()

public CoherenceResult getCoherenceResult()

Result for coherence metric.

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

Returns
TypeDescription
CoherenceResult

The coherenceResult.

getCoherenceResultOrBuilder()

public CoherenceResultOrBuilder getCoherenceResultOrBuilder()

Result for coherence metric.

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

Returns
TypeDescription
CoherenceResultOrBuilder

getDefaultInstanceForType()

public EvaluateInstancesResponse getDefaultInstanceForType()
Returns
TypeDescription
EvaluateInstancesResponse

getEvaluationResultsCase()

public EvaluateInstancesResponse.EvaluationResultsCase getEvaluationResultsCase()
Returns
TypeDescription
EvaluateInstancesResponse.EvaluationResultsCase

getExactMatchResults()

public ExactMatchResults getExactMatchResults()

Auto metric evaluation results. Results for exact match metric.

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

Returns
TypeDescription
ExactMatchResults

The exactMatchResults.

getExactMatchResultsOrBuilder()

public ExactMatchResultsOrBuilder getExactMatchResultsOrBuilder()

Auto metric evaluation results. Results for exact match metric.

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

Returns
TypeDescription
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.v1beta1.FluencyResult fluency_result = 4;

Returns
TypeDescription
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.v1beta1.FluencyResult fluency_result = 4;

Returns
TypeDescription
FluencyResultOrBuilder

getFulfillmentResult()

public FulfillmentResult getFulfillmentResult()

Result for fulfillment metric.

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

Returns
TypeDescription
FulfillmentResult

The fulfillmentResult.

getFulfillmentResultOrBuilder()

public FulfillmentResultOrBuilder getFulfillmentResultOrBuilder()

Result for fulfillment metric.

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

Returns
TypeDescription
FulfillmentResultOrBuilder

getGroundednessResult()

public GroundednessResult getGroundednessResult()

Result for groundedness metric.

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

Returns
TypeDescription
GroundednessResult

The groundednessResult.

getGroundednessResultOrBuilder()

public GroundednessResultOrBuilder getGroundednessResultOrBuilder()

Result for groundedness metric.

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

Returns
TypeDescription
GroundednessResultOrBuilder

getPairwiseQuestionAnsweringQualityResult()

public PairwiseQuestionAnsweringQualityResult getPairwiseQuestionAnsweringQualityResult()

Result for pairwise question answering quality metric.

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

Returns
TypeDescription
PairwiseQuestionAnsweringQualityResult

The pairwiseQuestionAnsweringQualityResult.

getPairwiseQuestionAnsweringQualityResultOrBuilder()

public PairwiseQuestionAnsweringQualityResultOrBuilder getPairwiseQuestionAnsweringQualityResultOrBuilder()

Result for pairwise question answering quality metric.

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

Returns
TypeDescription
PairwiseQuestionAnsweringQualityResultOrBuilder

getPairwiseSummarizationQualityResult()

public PairwiseSummarizationQualityResult getPairwiseSummarizationQualityResult()

Result for pairwise summarization quality metric.

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

Returns
TypeDescription
PairwiseSummarizationQualityResult

The pairwiseSummarizationQualityResult.

getPairwiseSummarizationQualityResultOrBuilder()

public PairwiseSummarizationQualityResultOrBuilder getPairwiseSummarizationQualityResultOrBuilder()

Result for pairwise summarization quality metric.

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

Returns
TypeDescription
PairwiseSummarizationQualityResultOrBuilder

getParserForType()

public Parser<EvaluateInstancesResponse> getParserForType()
Returns
TypeDescription
Parser<EvaluateInstancesResponse>
Overrides

getQuestionAnsweringCorrectnessResult()

public QuestionAnsweringCorrectnessResult getQuestionAnsweringCorrectnessResult()

Result for question answering correctness metric.

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

Returns
TypeDescription
QuestionAnsweringCorrectnessResult

The questionAnsweringCorrectnessResult.

getQuestionAnsweringCorrectnessResultOrBuilder()

public QuestionAnsweringCorrectnessResultOrBuilder getQuestionAnsweringCorrectnessResultOrBuilder()

Result for question answering correctness metric.

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

Returns
TypeDescription
QuestionAnsweringCorrectnessResultOrBuilder

getQuestionAnsweringHelpfulnessResult()

public QuestionAnsweringHelpfulnessResult getQuestionAnsweringHelpfulnessResult()

Result for question answering helpfulness metric.

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

Returns
TypeDescription
QuestionAnsweringHelpfulnessResult

The questionAnsweringHelpfulnessResult.

getQuestionAnsweringHelpfulnessResultOrBuilder()

public QuestionAnsweringHelpfulnessResultOrBuilder getQuestionAnsweringHelpfulnessResultOrBuilder()

Result for question answering helpfulness metric.

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

Returns
TypeDescription
QuestionAnsweringHelpfulnessResultOrBuilder

getQuestionAnsweringQualityResult()

public QuestionAnsweringQualityResult getQuestionAnsweringQualityResult()

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

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

Returns
TypeDescription
QuestionAnsweringQualityResult

The questionAnsweringQualityResult.

getQuestionAnsweringQualityResultOrBuilder()

public QuestionAnsweringQualityResultOrBuilder getQuestionAnsweringQualityResultOrBuilder()

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

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

Returns
TypeDescription
QuestionAnsweringQualityResultOrBuilder

getQuestionAnsweringRelevanceResult()

public QuestionAnsweringRelevanceResult getQuestionAnsweringRelevanceResult()

Result for question answering relevance metric.

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

Returns
TypeDescription
QuestionAnsweringRelevanceResult

The questionAnsweringRelevanceResult.

getQuestionAnsweringRelevanceResultOrBuilder()

public QuestionAnsweringRelevanceResultOrBuilder getQuestionAnsweringRelevanceResultOrBuilder()

Result for question answering relevance metric.

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

Returns
TypeDescription
QuestionAnsweringRelevanceResultOrBuilder

getRagContextRecallResult()

public RagContextRecallResult getRagContextRecallResult()

RAG only metrics. Result for context recall metric.

.google.cloud.aiplatform.v1beta1.RagContextRecallResult rag_context_recall_result = 10;

Returns
TypeDescription
RagContextRecallResult

The ragContextRecallResult.

getRagContextRecallResultOrBuilder()

public RagContextRecallResultOrBuilder getRagContextRecallResultOrBuilder()

RAG only metrics. Result for context recall metric.

.google.cloud.aiplatform.v1beta1.RagContextRecallResult rag_context_recall_result = 10;

Returns
TypeDescription
RagContextRecallResultOrBuilder

getResponseRecallResult()

public ResponseRecallResult getResponseRecallResult()

Result for response recall metric.

.google.cloud.aiplatform.v1beta1.ResponseRecallResult response_recall_result = 12;

Returns
TypeDescription
ResponseRecallResult

The responseRecallResult.

getResponseRecallResultOrBuilder()

public ResponseRecallResultOrBuilder getResponseRecallResultOrBuilder()

Result for response recall metric.

.google.cloud.aiplatform.v1beta1.ResponseRecallResult response_recall_result = 12;

Returns
TypeDescription
ResponseRecallResultOrBuilder

getRougeResults()

public RougeResults getRougeResults()

Results for rouge metric.

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

Returns
TypeDescription
RougeResults

The rougeResults.

getRougeResultsOrBuilder()

public RougeResultsOrBuilder getRougeResultsOrBuilder()

Results for rouge metric.

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

Returns
TypeDescription
RougeResultsOrBuilder

getSafetyResult()

public SafetyResult getSafetyResult()

Result for safety metric.

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

Returns
TypeDescription
SafetyResult

The safetyResult.

getSafetyResultOrBuilder()

public SafetyResultOrBuilder getSafetyResultOrBuilder()

Result for safety metric.

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

Returns
TypeDescription
SafetyResultOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSummarizationHelpfulnessResult()

public SummarizationHelpfulnessResult getSummarizationHelpfulnessResult()

Result for summarization helpfulness metric.

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

Returns
TypeDescription
SummarizationHelpfulnessResult

The summarizationHelpfulnessResult.

getSummarizationHelpfulnessResultOrBuilder()

public SummarizationHelpfulnessResultOrBuilder getSummarizationHelpfulnessResultOrBuilder()

Result for summarization helpfulness metric.

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

Returns
TypeDescription
SummarizationHelpfulnessResultOrBuilder

getSummarizationQualityResult()

public SummarizationQualityResult getSummarizationQualityResult()

Summarization only metrics. Result for summarization quality metric.

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

Returns
TypeDescription
SummarizationQualityResult

The summarizationQualityResult.

getSummarizationQualityResultOrBuilder()

public SummarizationQualityResultOrBuilder getSummarizationQualityResultOrBuilder()

Summarization only metrics. Result for summarization quality metric.

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

Returns
TypeDescription
SummarizationQualityResultOrBuilder

getSummarizationVerbosityResult()

public SummarizationVerbosityResult getSummarizationVerbosityResult()

Result for summarization verbosity metric.

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

Returns
TypeDescription
SummarizationVerbosityResult

The summarizationVerbosityResult.

getSummarizationVerbosityResultOrBuilder()

public SummarizationVerbosityResultOrBuilder getSummarizationVerbosityResultOrBuilder()

Result for summarization verbosity metric.

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

Returns
TypeDescription
SummarizationVerbosityResultOrBuilder

getToolCallValidResults()

public ToolCallValidResults getToolCallValidResults()

Tool call metrics. Results for tool call valid metric.

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

Returns
TypeDescription
ToolCallValidResults

The toolCallValidResults.

getToolCallValidResultsOrBuilder()

public ToolCallValidResultsOrBuilder getToolCallValidResultsOrBuilder()

Tool call metrics. Results for tool call valid metric.

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

Returns
TypeDescription
ToolCallValidResultsOrBuilder

getToolNameMatchResults()

public ToolNameMatchResults getToolNameMatchResults()

Results for tool name match metric.

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

Returns
TypeDescription
ToolNameMatchResults

The toolNameMatchResults.

getToolNameMatchResultsOrBuilder()

public ToolNameMatchResultsOrBuilder getToolNameMatchResultsOrBuilder()

Results for tool name match metric.

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

Returns
TypeDescription
ToolNameMatchResultsOrBuilder

getToolParameterKeyMatchResults()

public ToolParameterKeyMatchResults getToolParameterKeyMatchResults()

Results for tool parameter key match metric.

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

Returns
TypeDescription
ToolParameterKeyMatchResults

The toolParameterKeyMatchResults.

getToolParameterKeyMatchResultsOrBuilder()

public ToolParameterKeyMatchResultsOrBuilder getToolParameterKeyMatchResultsOrBuilder()

Results for tool parameter key match metric.

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

Returns
TypeDescription
ToolParameterKeyMatchResultsOrBuilder

getToolParameterKvMatchResults()

public ToolParameterKVMatchResults getToolParameterKvMatchResults()

Results for tool parameter key value match metric.

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

Returns
TypeDescription
ToolParameterKVMatchResults

The toolParameterKvMatchResults.

getToolParameterKvMatchResultsOrBuilder()

public ToolParameterKVMatchResultsOrBuilder getToolParameterKvMatchResultsOrBuilder()

Results for tool parameter key value match metric.

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

Returns
TypeDescription
ToolParameterKVMatchResultsOrBuilder

hasBleuResults()

public boolean hasBleuResults()

Results for bleu metric.

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

Returns
TypeDescription
boolean

Whether the bleuResults field is set.

hasCoherenceResult()

public boolean hasCoherenceResult()

Result for coherence metric.

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

Returns
TypeDescription
boolean

Whether the coherenceResult field is set.

hasExactMatchResults()

public boolean hasExactMatchResults()

Auto metric evaluation results. Results for exact match metric.

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

Returns
TypeDescription
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.v1beta1.FluencyResult fluency_result = 4;

Returns
TypeDescription
boolean

Whether the fluencyResult field is set.

hasFulfillmentResult()

public boolean hasFulfillmentResult()

Result for fulfillment metric.

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

Returns
TypeDescription
boolean

Whether the fulfillmentResult field is set.

hasGroundednessResult()

public boolean hasGroundednessResult()

Result for groundedness metric.

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

Returns
TypeDescription
boolean

Whether the groundednessResult field is set.

hasPairwiseQuestionAnsweringQualityResult()

public boolean hasPairwiseQuestionAnsweringQualityResult()

Result for pairwise question answering quality metric.

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

Returns
TypeDescription
boolean

Whether the pairwiseQuestionAnsweringQualityResult field is set.

hasPairwiseSummarizationQualityResult()

public boolean hasPairwiseSummarizationQualityResult()

Result for pairwise summarization quality metric.

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

Returns
TypeDescription
boolean

Whether the pairwiseSummarizationQualityResult field is set.

hasQuestionAnsweringCorrectnessResult()

public boolean hasQuestionAnsweringCorrectnessResult()

Result for question answering correctness metric.

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

Returns
TypeDescription
boolean

Whether the questionAnsweringCorrectnessResult field is set.

hasQuestionAnsweringHelpfulnessResult()

public boolean hasQuestionAnsweringHelpfulnessResult()

Result for question answering helpfulness metric.

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

Returns
TypeDescription
boolean

Whether the questionAnsweringHelpfulnessResult field is set.

hasQuestionAnsweringQualityResult()

public boolean hasQuestionAnsweringQualityResult()

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

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

Returns
TypeDescription
boolean

Whether the questionAnsweringQualityResult field is set.

hasQuestionAnsweringRelevanceResult()

public boolean hasQuestionAnsweringRelevanceResult()

Result for question answering relevance metric.

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

Returns
TypeDescription
boolean

Whether the questionAnsweringRelevanceResult field is set.

hasRagContextRecallResult()

public boolean hasRagContextRecallResult()

RAG only metrics. Result for context recall metric.

.google.cloud.aiplatform.v1beta1.RagContextRecallResult rag_context_recall_result = 10;

Returns
TypeDescription
boolean

Whether the ragContextRecallResult field is set.

hasResponseRecallResult()

public boolean hasResponseRecallResult()

Result for response recall metric.

.google.cloud.aiplatform.v1beta1.ResponseRecallResult response_recall_result = 12;

Returns
TypeDescription
boolean

Whether the responseRecallResult field is set.

hasRougeResults()

public boolean hasRougeResults()

Results for rouge metric.

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

Returns
TypeDescription
boolean

Whether the rougeResults field is set.

hasSafetyResult()

public boolean hasSafetyResult()

Result for safety metric.

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

Returns
TypeDescription
boolean

Whether the safetyResult field is set.

hasSummarizationHelpfulnessResult()

public boolean hasSummarizationHelpfulnessResult()

Result for summarization helpfulness metric.

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

Returns
TypeDescription
boolean

Whether the summarizationHelpfulnessResult field is set.

hasSummarizationQualityResult()

public boolean hasSummarizationQualityResult()

Summarization only metrics. Result for summarization quality metric.

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

Returns
TypeDescription
boolean

Whether the summarizationQualityResult field is set.

hasSummarizationVerbosityResult()

public boolean hasSummarizationVerbosityResult()

Result for summarization verbosity metric.

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

Returns
TypeDescription
boolean

Whether the summarizationVerbosityResult field is set.

hasToolCallValidResults()

public boolean hasToolCallValidResults()

Tool call metrics. Results for tool call valid metric.

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

Returns
TypeDescription
boolean

Whether the toolCallValidResults field is set.

hasToolNameMatchResults()

public boolean hasToolNameMatchResults()

Results for tool name match metric.

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

Returns
TypeDescription
boolean

Whether the toolNameMatchResults field is set.

hasToolParameterKeyMatchResults()

public boolean hasToolParameterKeyMatchResults()

Results for tool parameter key match metric.

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

Returns
TypeDescription
boolean

Whether the toolParameterKeyMatchResults field is set.

hasToolParameterKvMatchResults()

public boolean hasToolParameterKvMatchResults()

Results for tool parameter key value match metric.

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

Returns
TypeDescription
boolean

Whether the toolParameterKvMatchResults field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EvaluateInstancesResponse.Builder newBuilderForType()
Returns
TypeDescription
EvaluateInstancesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EvaluateInstancesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EvaluateInstancesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EvaluateInstancesResponse.Builder toBuilder()
Returns
TypeDescription
EvaluateInstancesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException