eval task

This commit is contained in:
Xi Yan 2024-11-05 14:59:50 -08:00
parent bca96b5b35
commit 1b62188c30

View file

@ -71,7 +71,7 @@ class Eval(Protocol):
@webmethod(route="/eval/evaluate_batch", method="POST")
async def evaluate_task(
self,
eval_task_def: Union[str, EvalTaskDef], # type: ignore
eval_task_id: str,
eval_task_config: EvalTaskConfig, # type: ignore
) -> Job: ...