mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
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
This commit is contained in:
committed by
Copybara-Service
parent
bb32a6356c
commit
0dbfb43052
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user