From 9cbe414a0c7cef5b3490b03636041e16c45ee6b3 Mon Sep 17 00:00:00 2001 From: paituo <330435863@qq.com> Date: Thu, 22 Aug 2024 17:10:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=8F=82=E6=95=B0=E9=A1=BA?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/.env.xinference | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/.env.xinference b/backend/.env.xinference index 48c95de..6dd566f 100644 --- a/backend/.env.xinference +++ b/backend/.env.xinference @@ -6,12 +6,13 @@ SQL_DATABASE_URL=mysql+pymysql://zjinfo1:Dy2Bcr53Hm5xRkba@110.42.234.166:3306/zj # The number of similar embeddings to return when retrieving documents. TOP_K=10 #-------------------------- -# 是否启用检索重排功能 -RERANK_ENABLED=true # 是否启用混合检索 HYBRID_ENABLED = true # 混合检索阈值 HYBRID_ALPHA = 0.6 +#-------------------------- +# 是否启用检索重排功能 +RERANK_ENABLED=true # Rerank model RERANK_MODEL=bge-reranker-v2-m3 RERANK_BASE_URL=http://10.1.16.39:9995