Enum google_api_proto::google::cloud::aiplatform::v1::evaluate_instances_response::EvaluationResults
source · pub enum EvaluationResults {
Show 23 variants
ExactMatchResults(ExactMatchResults),
BleuResults(BleuResults),
RougeResults(RougeResults),
FluencyResult(FluencyResult),
CoherenceResult(CoherenceResult),
SafetyResult(SafetyResult),
GroundednessResult(GroundednessResult),
FulfillmentResult(FulfillmentResult),
SummarizationQualityResult(SummarizationQualityResult),
PairwiseSummarizationQualityResult(PairwiseSummarizationQualityResult),
SummarizationHelpfulnessResult(SummarizationHelpfulnessResult),
SummarizationVerbosityResult(SummarizationVerbosityResult),
QuestionAnsweringQualityResult(QuestionAnsweringQualityResult),
PairwiseQuestionAnsweringQualityResult(PairwiseQuestionAnsweringQualityResult),
QuestionAnsweringRelevanceResult(QuestionAnsweringRelevanceResult),
QuestionAnsweringHelpfulnessResult(QuestionAnsweringHelpfulnessResult),
QuestionAnsweringCorrectnessResult(QuestionAnsweringCorrectnessResult),
PointwiseMetricResult(PointwiseMetricResult),
PairwiseMetricResult(PairwiseMetricResult),
ToolCallValidResults(ToolCallValidResults),
ToolNameMatchResults(ToolNameMatchResults),
ToolParameterKeyMatchResults(ToolParameterKeyMatchResults),
ToolParameterKvMatchResults(ToolParameterKvMatchResults),
}
Expand description
Evaluation results will be served in the same order as presented in EvaluationRequest.instances.
Variants§
ExactMatchResults(ExactMatchResults)
Auto metric evaluation results. Results for exact match metric.
BleuResults(BleuResults)
Results for bleu metric.
RougeResults(RougeResults)
Results for rouge metric.
FluencyResult(FluencyResult)
LLM-based metric evaluation result. General text generation metrics, applicable to other categories. Result for fluency metric.
CoherenceResult(CoherenceResult)
Result for coherence metric.
SafetyResult(SafetyResult)
Result for safety metric.
GroundednessResult(GroundednessResult)
Result for groundedness metric.
FulfillmentResult(FulfillmentResult)
Result for fulfillment metric.
SummarizationQualityResult(SummarizationQualityResult)
Summarization only metrics. Result for summarization quality metric.
PairwiseSummarizationQualityResult(PairwiseSummarizationQualityResult)
Result for pairwise summarization quality metric.
SummarizationHelpfulnessResult(SummarizationHelpfulnessResult)
Result for summarization helpfulness metric.
SummarizationVerbosityResult(SummarizationVerbosityResult)
Result for summarization verbosity metric.
QuestionAnsweringQualityResult(QuestionAnsweringQualityResult)
Question answering only metrics. Result for question answering quality metric.
PairwiseQuestionAnsweringQualityResult(PairwiseQuestionAnsweringQualityResult)
Result for pairwise question answering quality metric.
QuestionAnsweringRelevanceResult(QuestionAnsweringRelevanceResult)
Result for question answering relevance metric.
QuestionAnsweringHelpfulnessResult(QuestionAnsweringHelpfulnessResult)
Result for question answering helpfulness metric.
QuestionAnsweringCorrectnessResult(QuestionAnsweringCorrectnessResult)
Result for question answering correctness metric.
PointwiseMetricResult(PointwiseMetricResult)
Generic metrics. Result for pointwise metric.
PairwiseMetricResult(PairwiseMetricResult)
Result for pairwise metric.
ToolCallValidResults(ToolCallValidResults)
Tool call metrics. Results for tool call valid metric.
ToolNameMatchResults(ToolNameMatchResults)
Results for tool name match metric.
ToolParameterKeyMatchResults(ToolParameterKeyMatchResults)
Results for tool parameter key match metric.
ToolParameterKvMatchResults(ToolParameterKvMatchResults)
Results for tool parameter key value match metric.
Implementations§
source§impl EvaluationResults
impl EvaluationResults
sourcepub fn merge(
field: &mut Option<EvaluationResults>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<EvaluationResults>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl Clone for EvaluationResults
impl Clone for EvaluationResults
source§fn clone(&self) -> EvaluationResults
fn clone(&self) -> EvaluationResults
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EvaluationResults
impl Debug for EvaluationResults
source§impl PartialEq for EvaluationResults
impl PartialEq for EvaluationResults
source§fn eq(&self, other: &EvaluationResults) -> bool
fn eq(&self, other: &EvaluationResults) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EvaluationResults
Auto Trait Implementations§
impl Freeze for EvaluationResults
impl RefUnwindSafe for EvaluationResults
impl Send for EvaluationResults
impl Sync for EvaluationResults
impl Unpin for EvaluationResults
impl UnwindSafe for EvaluationResults
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request