mirror of
https://github.com/meta-llama/llama-stack.git
synced 2026-01-01 13:04:32 +00:00
docs
This commit is contained in:
parent
de382e7b45
commit
98dfc99584
3 changed files with 5 additions and 18 deletions
|
|
@ -178,7 +178,7 @@ class ScoringFunctions(Protocol):
|
|||
Register a new scoring function with given parameters.
|
||||
Only valid scoring function type that can be parameterized can be registered.
|
||||
|
||||
:param scoring_fn_type: The type of scoring function to register. A function type can only be registered if it is a valid type.
|
||||
:param scoring_fn_type: The type of scoring function to register.
|
||||
:param params: The parameters for the scoring function.
|
||||
:param scoring_fn_id: (Optional) The ID of the scoring function to register. If not provided, a random ID will be generated.
|
||||
:param metadata: (Optional) Any additional metadata to be associated with the scoring function.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue