We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
EvalMetricResultPerInvocation
1 parent b576689 commit a6b5244Copy full SHA for a6b5244
src/google/adk/evaluation/eval_metrics.py
@@ -51,17 +51,19 @@ class EvalMetricResult(EvalMetric):
51
alias_generator=alias_generators.to_camel,
52
populate_by_name=True,
53
)
54
- model_config = ConfigDict(
55
- alias_generator=alias_generators.to_camel,
56
- populate_by_name=True,
57
- )
+
58
score: Optional[float] = None
59
eval_status: EvalStatus
60
61
62
class EvalMetricResultPerInvocation(BaseModel):
63
"""Eval metric results per invocation."""
64
+ model_config = ConfigDict(
+ alias_generator=alias_generators.to_camel,
+ populate_by_name=True,
65
+ )
66
67
actual_invocation: Invocation
68
"""The actual invocation, usually obtained by inferencing the agent."""
69
0 commit comments