mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-30 07:39:38 +00:00
rename
This commit is contained in:
parent
e5b4e4d569
commit
be7b76ceac
1 changed files with 4 additions and 4 deletions
|
@ -59,15 +59,15 @@ class EvaluateResponse(BaseModel):
|
|||
|
||||
|
||||
class Eval(Protocol):
|
||||
@webmethod(route="/eval/run_benchmark", method="POST")
|
||||
async def run_benchmark(
|
||||
@webmethod(route="/eval/run_benchmark_eval", method="POST")
|
||||
async def run_benchmark_eval(
|
||||
self,
|
||||
benchmark_id: str,
|
||||
eval_task_config: BenchmarkEvalTaskConfig, # type: ignore
|
||||
) -> Job: ...
|
||||
|
||||
@webmethod(route="/eval/run_app_eval", method="POST")
|
||||
async def run_app_eval(
|
||||
@webmethod(route="/eval/run_eval", method="POST")
|
||||
async def run_eval(
|
||||
self,
|
||||
eval_task_def: EvalTaskDef, # type: ignore
|
||||
eval_task_config: AppEvalTaskConfig, # type: ignore
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue