mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2026-02-04 13:56:24 -06:00
chore: Add alias_generators to new Eval pydantic models
PiperOrigin-RevId: 759346603
This commit is contained in:
committed by
Copybara-Service
parent
d27fe90d37
commit
4d5760917d
@@ -38,7 +38,7 @@ from .utils import common
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class EvalMetric(BaseModel):
|
||||
class EvalMetric(common.BaseModel):
|
||||
"""A metric used to evaluate a particular aspect of an eval case."""
|
||||
|
||||
metric_name: str
|
||||
@@ -55,7 +55,7 @@ class EvalMetricResult(EvalMetric):
|
||||
eval_status: EvalStatus
|
||||
|
||||
|
||||
class EvalMetricResultPerInvocation(BaseModel):
|
||||
class EvalMetricResultPerInvocation(common.BaseModel):
|
||||
"""Eval metric results per invocation."""
|
||||
|
||||
actual_invocation: Invocation
|
||||
|
||||
Reference in New Issue
Block a user