mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-31 08:43:52 +00:00
params -> fn
This commit is contained in:
parent
bb86aaf787
commit
124040af77
3 changed files with 16 additions and 54 deletions
27
docs/_static/llama-stack-spec.html
vendored
27
docs/_static/llama-stack-spec.html
vendored
|
|
@ -9602,29 +9602,9 @@
|
|||
"RegisterScoringFunctionRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"scoring_fn_type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"custom_llm_as_judge",
|
||||
"regex_parser",
|
||||
"regex_parser_math_response",
|
||||
"equality",
|
||||
"subset_of",
|
||||
"factuality",
|
||||
"faithfulness",
|
||||
"answer_correctness",
|
||||
"answer_relevancy",
|
||||
"answer_similarity",
|
||||
"context_entity_recall",
|
||||
"context_precision",
|
||||
"context_recall",
|
||||
"context_relevancy"
|
||||
],
|
||||
"description": "The type of scoring function to register."
|
||||
},
|
||||
"params": {
|
||||
"fn": {
|
||||
"$ref": "#/components/schemas/ScoringFnParams",
|
||||
"description": "The parameters for the scoring function."
|
||||
"description": "The type and parameters for the scoring function."
|
||||
},
|
||||
"scoring_fn_id": {
|
||||
"type": "string",
|
||||
|
|
@ -9659,8 +9639,7 @@
|
|||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"scoring_fn_type",
|
||||
"params"
|
||||
"fn"
|
||||
],
|
||||
"title": "RegisterScoringFunctionRequest"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue