feat: support xinference rerank model (#1466)

### What problem does this PR solve?

support xinference rerank model
#1455 

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
zhuhao
2024-07-11 18:37:41 +08:00
committed by GitHub
parent 9c023b6d8c
commit 009e18f094
4 changed files with 23 additions and 3 deletions

View File

@ -68,4 +68,5 @@ RerankModel = {
"BAAI": DefaultRerank,
"Jina": JinaRerank,
"Youdao": YoudaoRerank,
"Xinference": XInferenceRerank
}