mirror of
https://github.com/meta-llama/llama-stack.git
synced 2026-01-02 21:14:36 +00:00
docs
This commit is contained in:
parent
f9ea90c4f7
commit
58d9cb1276
3 changed files with 17 additions and 8 deletions
|
|
@ -153,9 +153,15 @@ ScoringFnParams = register_schema(
|
|||
|
||||
|
||||
class CommonScoringFnFields(BaseModel):
|
||||
"""
|
||||
:param scoring_fn_type: The type of scoring function.
|
||||
:param params: (Optional) The parameters for the scoring function.
|
||||
:param metadata: (Optional) Any additional metadata for this definition (e.g. description).
|
||||
"""
|
||||
|
||||
scoring_fn_type: ScoringFunctionType
|
||||
params: Optional[ScoringFnParams] = Field(
|
||||
description="The parameters for the scoring function for benchmark eval, these can be overridden for app eval",
|
||||
description="The parameters for the scoring function.",
|
||||
default=None,
|
||||
)
|
||||
metadata: Dict[str, Any] = Field(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue