mirror of
https://github.com/meta-llama/llama-stack.git
synced 2026-01-02 03:40:02 +00:00
score_rows / eval_rows
This commit is contained in:
parent
cf24e9073f
commit
2cf769e05e
2 changed files with 7 additions and 5 deletions
|
|
@ -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],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue