From 0dbfb43052cf17289f16b82e1306956ad610c7c0 Mon Sep 17 00:00:00 2001 From: Al Duncanson Date: Thu, 23 Oct 2025 14:38:48 -0700 Subject: [PATCH] fix: Update `_evaluate_single_inference_result` documentation Merge https://github.com/google/adk-python/pull/3123 Update `_evaluate_single_inference_result` documentation COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/3123 from alDuncanson:spelling-fix b7bb4d4180a481794a42a60817536e426e55cdb3 PiperOrigin-RevId: 823193022 --- src/google/adk/evaluation/local_eval_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/google/adk/evaluation/local_eval_service.py b/src/google/adk/evaluation/local_eval_service.py index 1b7e1ce3..e43df374 100644 --- a/src/google/adk/evaluation/local_eval_service.py +++ b/src/google/adk/evaluation/local_eval_service.py @@ -184,10 +184,10 @@ class LocalEvalService(BaseEvalService): async def _evaluate_single_inference_result( self, inference_result: InferenceResult, evaluate_config: EvaluateConfig ) -> tuple[InferenceResult, EvalCaseResult]: - """Returns EvalCaseResult for the given inference result. + """Returns the inference result and its corresponding EvalCaseResult. A single inference result can have multiple invocations. For each - invocaiton, this method evaluates the metrics present in evaluate config. + invocation, this method evaluates the metrics present in evaluate config. The EvalCaseResult contains scores for each metric per invocation and the overall score.