This commit is contained in:
Xi Yan 2025-03-11 22:06:55 -07:00
parent de382e7b45
commit 98dfc99584
3 changed files with 5 additions and 18 deletions

View file

@ -7175,9 +7175,6 @@
"scoring_fn_type": {
"$ref": "#/components/schemas/ScoringFunctionType"
},
"description": {
"type": "string"
},
"params": {
"$ref": "#/components/schemas/ScoringFnParams"
},
@ -9310,7 +9307,7 @@
"properties": {
"scoring_fn_type": {
"$ref": "#/components/schemas/ScoringFunctionType",
"description": "The type of scoring function to register. A function type can only be registered if it is a valid type."
"description": "The type of scoring function to register."
},
"params": {
"$ref": "#/components/schemas/ScoringFnParams",
@ -9320,10 +9317,6 @@
"type": "string",
"description": "(Optional) The ID of the scoring function to register. If not provided, a random ID will be generated."
},
"description": {
"type": "string",
"description": "(Optional) The description of the scoring function."
},
"metadata": {
"type": "object",
"additionalProperties": {
@ -9348,7 +9341,7 @@
}
]
},
"description": "(Optional) Any additional metadata to be associated with the scoring function."
"description": "(Optional) Any additional metadata to be associated with the scoring function. - E.g. {\"description\": \"This scoring function is used for ...\"}"
}
},
"additionalProperties": false,