forked from phoenix-oss/llama-stack-mirror
inline -> sync
This commit is contained in:
parent
1860751655
commit
cb492eba37
3 changed files with 121 additions and 121 deletions
|
@ -129,8 +129,8 @@ class Evaluation(Protocol):
|
|||
"""
|
||||
...
|
||||
|
||||
@webmethod(route="/evaluation/run_inline", method="POST")
|
||||
async def run_inline(
|
||||
@webmethod(route="/evaluation/run_sync", method="POST")
|
||||
async def run_sync(
|
||||
self,
|
||||
task: EvaluationTask,
|
||||
candidate: EvaluationCandidate,
|
||||
|
@ -160,8 +160,8 @@ class Evaluation(Protocol):
|
|||
"""
|
||||
...
|
||||
|
||||
@webmethod(route="/evaluation/grade_inline", method="POST")
|
||||
async def grade_inline(self, task: EvaluationTask) -> EvaluationResponse:
|
||||
@webmethod(route="/evaluation/grade_sync", method="POST")
|
||||
async def grade_sync(self, task: EvaluationTask) -> EvaluationResponse:
|
||||
"""
|
||||
Run an grading job with generated results inline.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue