score_rows / eval_rows

This commit is contained in:
Xi Yan 2025-03-13 15:32:58 -07:00
parent cf24e9073f
commit 2cf769e05e
2 changed files with 7 additions and 5 deletions

View file

@ -62,8 +62,8 @@ class Scoring(Protocol):
scoring_fn_ids: List[str],
) -> ScoreBatchResponse: ...
@webmethod(route="/scoring/rows", method="POST")
async def score(
@webmethod(route="/scoring/score-rows", method="POST")
async def score_rows(
self,
dataset_rows: List[Dict[str, Any]],
scoring_fn_ids: List[str],