mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-10 04:08:31 +00:00
scoring job
This commit is contained in:
parent
83d8777f56
commit
ddcbf5e8d5
1 changed files with 2 additions and 2 deletions
|
@ -78,12 +78,12 @@ class Scoring(Protocol):
|
||||||
@webmethod(route="/scoring/rows", method="POST")
|
@webmethod(route="/scoring/rows", method="POST")
|
||||||
async def score_rows(
|
async def score_rows(
|
||||||
self,
|
self,
|
||||||
input_rows: List[Dict[str, Any]],
|
dataset_rows: List[Dict[str, Any]],
|
||||||
scoring_functions: List[ScoringFnParams],
|
scoring_functions: List[ScoringFnParams],
|
||||||
) -> ScoreResponse:
|
) -> ScoreResponse:
|
||||||
"""Score a list of rows.
|
"""Score a list of rows.
|
||||||
|
|
||||||
:param input_rows: The rows to score.
|
:param dataset_rows: The rows to score.
|
||||||
:param scoring_functions: The scoring functions to use for the scoring.
|
:param scoring_functions: The scoring functions to use for the scoring.
|
||||||
:return: ScoreResponse object containing rows and aggregated results
|
:return: ScoreResponse object containing rows and aggregated results
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue