mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-31 10:33:53 +00:00
scoring api update
This commit is contained in:
parent
bbb1947fb4
commit
2bb6ca818a
3 changed files with 141 additions and 383 deletions
|
|
@ -175,7 +175,7 @@ class ScoringFunctions(Protocol):
|
|||
scoring_fn_id: Optional[str] = None,
|
||||
description: Optional[str] = None,
|
||||
metadata: Optional[Dict[str, Any]] = None,
|
||||
):
|
||||
) -> ScoringFn:
|
||||
"""
|
||||
Register a new scoring function with given parameters.
|
||||
Only valid scoring function type that can be parameterized can be registered.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue