新增ollama重排类

This commit is contained in:
wanyaokun
2024-09-06 10:07:22 +08:00
parent 21fdc16259
commit 60b0f11ca2
3 changed files with 83 additions and 1 deletions
+1
View File
@@ -26,6 +26,7 @@ RERANK_ENABLED=true
RERANK_PROVIDER=ollama
RERANK_MODEL= /models/bge-reranker-base
RERANK_TOP_N=5
RERANK_THRESHOLD=0.3
#---------- model - Xinference ----------------
#MODEL_PROVIDER=xinference