File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1229,15 +1229,15 @@ class RerankRequest(OpenAIBaseModel):
1229
1229
"default: 0). Any priority other than 0 will raise an error "
1230
1230
"if the served model does not use priority scheduling." ),
1231
1231
)
1232
- rerank_template : Optional [dict [str , str ]] = Field (
1232
+ score_template : Optional [dict [str , str ]] = Field (
1233
1233
default = None ,
1234
1234
description = ("A dictionary containing query_template and "
1235
1235
"document_template to format the reranker input." )
1236
1236
)
1237
- rerank_template_kwargs : Optional [dict [str , Any ]] = Field (
1237
+ score_template_kwargs : Optional [dict [str , Any ]] = Field (
1238
1238
default = None ,
1239
- description = ("A dictionary of key-value pairs to be formatted into "
1240
- "the rerank model's template." )
1239
+ description = ("Additional keyword args to pass to the template renderer. "
1240
+ "Will be accessible by the rerank template." )
1241
1241
)
1242
1242
# --8<-- [end:rerank-extra-params]
1243
1243
You can’t perform that action at this time.
0 commit comments