Class EvaluateInstancesRequest (3.40.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
TypeDescription
int

COHERENCE_INPUT_FIELD_NUMBER

public static final int COHERENCE_INPUT_FIELD_NUMBER
Field Value
TypeDescription
int

EXACT_MATCH_INPUT_FIELD_NUMBER

public static final int EXACT_MATCH_INPUT_FIELD_NUMBER
Field Value
TypeDescription
int

FLUENCY_INPUT_FIELD_NUMBER

public static final int FLUENCY_INPUT_FIELD_NUMBER
Field Value
TypeDescription
int

FULFILLMENT_INPUT_FIELD_NUMBER

public static final int FULFILLMENT_INPUT_FIELD_NUMBER
Field Value
TypeDescription
int

GROUNDEDNESS_INPUT_FIELD_NUMBER

public static final int GROUNDEDNESS_INPUT_FIELD_NUMBER
Field Value
TypeDescription
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

PAIRWISE_QUESTION_ANSWERING_QUALITY_INPUT_FIELD_NUMBER

public static final int PAIRWISE_QUESTION_ANSWERING_QUALITY_INPUT_FIELD_NUMBER
Field Value
TypeDescription
int

PAIRWISE_SUMMARIZATION_QUALITY_INPUT_FIELD_NUMBER

public static final int PAIRWISE_SUMMARIZATION_QUALITY_INPUT_FIELD_NUMBER
Field Value
TypeDescription
int

QUESTION_ANSWERING_CORRECTNESS_INPUT_FIELD_NUMBER

public static final int QUESTION_ANSWERING_CORRECTNESS_INPUT_FIELD_NUMBER
Field Value
TypeDescription
int

QUESTION_ANSWERING_HELPFULNESS_INPUT_FIELD_NUMBER

public static final int QUESTION_ANSWERING_HELPFULNESS_INPUT_FIELD_NUMBER
Field Value
TypeDescription
int

QUESTION_ANSWERING_QUALITY_INPUT_FIELD_NUMBER

public static final int QUESTION_ANSWERING_QUALITY_INPUT_FIELD_NUMBER
Field Value
TypeDescription
int

QUESTION_ANSWERING_RELEVANCE_INPUT_FIELD_NUMBER

public static final int QUESTION_ANSWERING_RELEVANCE_INPUT_FIELD_NUMBER
Field Value
TypeDescription
int

RAG_CONTEXT_RECALL_INPUT_FIELD_NUMBER

public static final int RAG_CONTEXT_RECALL_INPUT_FIELD_NUMBER
Field Value
TypeDescription
int

RESPONSE_RECALL_INPUT_FIELD_NUMBER

public static final int RESPONSE_RECALL_INPUT_FIELD_NUMBER
Field Value
TypeDescription
int

ROUGE_INPUT_FIELD_NUMBER

public static final int ROUGE_INPUT_FIELD_NUMBER
Field Value
TypeDescription
int

SAFETY_INPUT_FIELD_NUMBER

public static final int SAFETY_INPUT_FIELD_NUMBER
Field Value
TypeDescription
int

SUMMARIZATION_HELPFULNESS_INPUT_FIELD_NUMBER

public static final int SUMMARIZATION_HELPFULNESS_INPUT_FIELD_NUMBER
Field Value
TypeDescription
int

SUMMARIZATION_QUALITY_INPUT_FIELD_NUMBER

public static final int SUMMARIZATION_QUALITY_INPUT_FIELD_NUMBER
Field Value
TypeDescription
int

SUMMARIZATION_VERBOSITY_INPUT_FIELD_NUMBER

public static final int SUMMARIZATION_VERBOSITY_INPUT_FIELD_NUMBER
Field Value
TypeDescription
int

TOOL_CALL_VALID_INPUT_FIELD_NUMBER

public static final int TOOL_CALL_VALID_INPUT_FIELD_NUMBER
Field Value
TypeDescription
int

TOOL_NAME_MATCH_INPUT_FIELD_NUMBER

public static final int TOOL_NAME_MATCH_INPUT_FIELD_NUMBER
Field Value
TypeDescription
int

TOOL_PARAMETER_KEY_MATCH_INPUT_FIELD_NUMBER

public static final int TOOL_PARAMETER_KEY_MATCH_INPUT_FIELD_NUMBER
Field Value
TypeDescription
int

TOOL_PARAMETER_KV_MATCH_INPUT_FIELD_NUMBER

public static final int TOOL_PARAMETER_KV_MATCH_INPUT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EvaluateInstancesRequest getDefaultInstance()
Returns
TypeDescription
EvaluateInstancesRequest

getDescriptor()

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

newBuilder()

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

newBuilder(EvaluateInstancesRequest prototype)

public static EvaluateInstancesRequest.Builder newBuilder(EvaluateInstancesRequest prototype)
Parameter
NameDescription
prototypeEvaluateInstancesRequest
Returns
TypeDescription
EvaluateInstancesRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBleuInput()

public BleuInput getBleuInput()

Instances and metric spec for bleu metric.

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

Returns
TypeDescription
BleuInput

The bleuInput.

getBleuInputOrBuilder()

public BleuInputOrBuilder getBleuInputOrBuilder()

Instances and metric spec for bleu metric.

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

Returns
TypeDescription
BleuInputOrBuilder

getCoherenceInput()

public CoherenceInput getCoherenceInput()

Input for coherence metric.

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

Returns
TypeDescription
CoherenceInput

The coherenceInput.

getCoherenceInputOrBuilder()

public CoherenceInputOrBuilder getCoherenceInputOrBuilder()

Input for coherence metric.

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

Returns
TypeDescription
CoherenceInputOrBuilder

getDefaultInstanceForType()

public EvaluateInstancesRequest getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FluencyInputOrBuilder

getFulfillmentInput()

public FulfillmentInput getFulfillmentInput()

Input for fulfillment metric.

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

Returns
TypeDescription
FulfillmentInput

The fulfillmentInput.

getFulfillmentInputOrBuilder()

public FulfillmentInputOrBuilder getFulfillmentInputOrBuilder()

Input for fulfillment metric.

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

Returns
TypeDescription
FulfillmentInputOrBuilder

getGroundednessInput()

public GroundednessInput getGroundednessInput()

Input for groundedness metric.

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

Returns
TypeDescription
GroundednessInput

The groundednessInput.

getGroundednessInputOrBuilder()

public GroundednessInputOrBuilder getGroundednessInputOrBuilder()

Input for groundedness metric.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for location.

getMetricInputsCase()

public EvaluateInstancesRequest.MetricInputsCase getMetricInputsCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
PairwiseQuestionAnsweringQualityInputOrBuilder

getPairwiseSummarizationQualityInput()

public PairwiseSummarizationQualityInput getPairwiseSummarizationQualityInput()

Input for pairwise summarization quality metric.

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

Returns
TypeDescription
PairwiseSummarizationQualityInput

The pairwiseSummarizationQualityInput.

getPairwiseSummarizationQualityInputOrBuilder()

public PairwiseSummarizationQualityInputOrBuilder getPairwiseSummarizationQualityInputOrBuilder()

Input for pairwise summarization quality metric.

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

Returns
TypeDescription
PairwiseSummarizationQualityInputOrBuilder

getParserForType()

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

getQuestionAnsweringCorrectnessInput()

public QuestionAnsweringCorrectnessInput getQuestionAnsweringCorrectnessInput()

Input for question answering correctness metric.

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

Returns
TypeDescription
QuestionAnsweringCorrectnessInput

The questionAnsweringCorrectnessInput.

getQuestionAnsweringCorrectnessInputOrBuilder()

public QuestionAnsweringCorrectnessInputOrBuilder getQuestionAnsweringCorrectnessInputOrBuilder()

Input for question answering correctness metric.

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

Returns
TypeDescription
QuestionAnsweringCorrectnessInputOrBuilder

getQuestionAnsweringHelpfulnessInput()

public QuestionAnsweringHelpfulnessInput getQuestionAnsweringHelpfulnessInput()

Input for question answering helpfulness metric.

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

Returns
TypeDescription
QuestionAnsweringHelpfulnessInput

The questionAnsweringHelpfulnessInput.

getQuestionAnsweringHelpfulnessInputOrBuilder()

public QuestionAnsweringHelpfulnessInputOrBuilder getQuestionAnsweringHelpfulnessInputOrBuilder()

Input for question answering helpfulness metric.

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

Returns
TypeDescription
QuestionAnsweringHelpfulnessInputOrBuilder

getQuestionAnsweringQualityInput()

public QuestionAnsweringQualityInput getQuestionAnsweringQualityInput()

Input for question answering quality metric.

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

Returns
TypeDescription
QuestionAnsweringQualityInput

The questionAnsweringQualityInput.

getQuestionAnsweringQualityInputOrBuilder()

public QuestionAnsweringQualityInputOrBuilder getQuestionAnsweringQualityInputOrBuilder()

Input for question answering quality metric.

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

Returns
TypeDescription
QuestionAnsweringQualityInputOrBuilder

getQuestionAnsweringRelevanceInput()

public QuestionAnsweringRelevanceInput getQuestionAnsweringRelevanceInput()

Input for question answering relevance metric.

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

Returns
TypeDescription
QuestionAnsweringRelevanceInput

The questionAnsweringRelevanceInput.

getQuestionAnsweringRelevanceInputOrBuilder()

public QuestionAnsweringRelevanceInputOrBuilder getQuestionAnsweringRelevanceInputOrBuilder()

Input for question answering relevance metric.

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

Returns
TypeDescription
QuestionAnsweringRelevanceInputOrBuilder

getRagContextRecallInput()

public RagContextRecallInput getRagContextRecallInput()

Input for rag context recall metric.

.google.cloud.aiplatform.v1beta1.RagContextRecallInput rag_context_recall_input = 11;

Returns
TypeDescription
RagContextRecallInput

The ragContextRecallInput.

getRagContextRecallInputOrBuilder()

public RagContextRecallInputOrBuilder getRagContextRecallInputOrBuilder()

Input for rag context recall metric.

.google.cloud.aiplatform.v1beta1.RagContextRecallInput rag_context_recall_input = 11;

Returns
TypeDescription
RagContextRecallInputOrBuilder

getResponseRecallInput()

public ResponseRecallInput getResponseRecallInput()

Input for response recall metric.

.google.cloud.aiplatform.v1beta1.ResponseRecallInput response_recall_input = 13;

Returns
TypeDescription
ResponseRecallInput

The responseRecallInput.

getResponseRecallInputOrBuilder()

public ResponseRecallInputOrBuilder getResponseRecallInputOrBuilder()

Input for response recall metric.

.google.cloud.aiplatform.v1beta1.ResponseRecallInput response_recall_input = 13;

Returns
TypeDescription
ResponseRecallInputOrBuilder

getRougeInput()

public RougeInput getRougeInput()

Instances and metric spec for rouge metric.

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

Returns
TypeDescription
RougeInput

The rougeInput.

getRougeInputOrBuilder()

public RougeInputOrBuilder getRougeInputOrBuilder()

Instances and metric spec for rouge metric.

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

Returns
TypeDescription
RougeInputOrBuilder

getSafetyInput()

public SafetyInput getSafetyInput()

Input for safety metric.

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

Returns
TypeDescription
SafetyInput

The safetyInput.

getSafetyInputOrBuilder()

public SafetyInputOrBuilder getSafetyInputOrBuilder()

Input for safety metric.

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

Returns
TypeDescription
SafetyInputOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSummarizationHelpfulnessInput()

public SummarizationHelpfulnessInput getSummarizationHelpfulnessInput()

Input for summarization helpfulness metric.

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

Returns
TypeDescription
SummarizationHelpfulnessInput

The summarizationHelpfulnessInput.

getSummarizationHelpfulnessInputOrBuilder()

public SummarizationHelpfulnessInputOrBuilder getSummarizationHelpfulnessInputOrBuilder()

Input for summarization helpfulness metric.

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

Returns
TypeDescription
SummarizationHelpfulnessInputOrBuilder

getSummarizationQualityInput()

public SummarizationQualityInput getSummarizationQualityInput()

Input for summarization quality metric.

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

Returns
TypeDescription
SummarizationQualityInput

The summarizationQualityInput.

getSummarizationQualityInputOrBuilder()

public SummarizationQualityInputOrBuilder getSummarizationQualityInputOrBuilder()

Input for summarization quality metric.

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

Returns
TypeDescription
SummarizationQualityInputOrBuilder

getSummarizationVerbosityInput()

public SummarizationVerbosityInput getSummarizationVerbosityInput()

Input for summarization verbosity metric.

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

Returns
TypeDescription
SummarizationVerbosityInput

The summarizationVerbosityInput.

getSummarizationVerbosityInputOrBuilder()

public SummarizationVerbosityInputOrBuilder getSummarizationVerbosityInputOrBuilder()

Input for summarization verbosity metric.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ToolCallValidInputOrBuilder

getToolNameMatchInput()

public ToolNameMatchInput getToolNameMatchInput()

Input for tool name match metric.

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

Returns
TypeDescription
ToolNameMatchInput

The toolNameMatchInput.

getToolNameMatchInputOrBuilder()

public ToolNameMatchInputOrBuilder getToolNameMatchInputOrBuilder()

Input for tool name match metric.

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

Returns
TypeDescription
ToolNameMatchInputOrBuilder

getToolParameterKeyMatchInput()

public ToolParameterKeyMatchInput getToolParameterKeyMatchInput()

Input for tool parameter key match metric.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ToolParameterKVMatchInputOrBuilder

hasBleuInput()

public boolean hasBleuInput()

Instances and metric spec for bleu metric.

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

Returns
TypeDescription
boolean

Whether the bleuInput field is set.

hasCoherenceInput()

public boolean hasCoherenceInput()

Input for coherence metric.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the fluencyInput field is set.

hasFulfillmentInput()

public boolean hasFulfillmentInput()

Input for fulfillment metric.

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

Returns
TypeDescription
boolean

Whether the fulfillmentInput field is set.

hasGroundednessInput()

public boolean hasGroundednessInput()

Input for groundedness metric.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the questionAnsweringRelevanceInput field is set.

hasRagContextRecallInput()

public boolean hasRagContextRecallInput()

Input for rag context recall metric.

.google.cloud.aiplatform.v1beta1.RagContextRecallInput rag_context_recall_input = 11;

Returns
TypeDescription
boolean

Whether the ragContextRecallInput field is set.

hasResponseRecallInput()

public boolean hasResponseRecallInput()

Input for response recall metric.

.google.cloud.aiplatform.v1beta1.ResponseRecallInput response_recall_input = 13;

Returns
TypeDescription
boolean

Whether the responseRecallInput field is set.

hasRougeInput()

public boolean hasRougeInput()

Instances and metric spec for rouge metric.

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

Returns
TypeDescription
boolean

Whether the rougeInput field is set.

hasSafetyInput()

public boolean hasSafetyInput()

Input for safety metric.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the toolParameterKvMatchInput 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 EvaluateInstancesRequest.Builder newBuilderForType()
Returns
TypeDescription
EvaluateInstancesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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