Merge commit 'd0c1d88057' into dev

This commit is contained in:
DESKTOP-RTLN3BA\$punk 2026-02-01 20:08:48 -08:00
commit e7c17c327c
2 changed files with 2 additions and 2 deletions

View file

@ -81,7 +81,7 @@ https://github.com/user-attachments/assets/a0a16566-6967-4374-ac51-9b3e07fbecd7
### 📊 **先进的 RAG 技术**
- 支持 100+ 种大语言模型
- 支持 6000+ 种嵌入模型
- 支持所有主流重排序器Pinecode、Cohere、Flashrank 等)
- 支持所有主流重排序器Pinecone、Cohere、Flashrank 等)
- 使用层次化索引2 层 RAG 设置)
- 利用混合搜索(语义搜索 + 全文搜索,结合倒数排名融合)

View file

@ -240,7 +240,7 @@ class Config:
chunk_size=getattr(embedding_model_instance, "max_seq_length", 512)
)
# Reranker's Configuration | Pinecode, Cohere etc. Read more at https://github.com/AnswerDotAI/rerankers?tab=readme-ov-file#usage
# Reranker's Configuration | Pinecone, Cohere etc. Read more at https://github.com/AnswerDotAI/rerankers?tab=readme-ov-file#usage
RERANKERS_ENABLED = os.getenv("RERANKERS_ENABLED", "FALSE").upper() == "TRUE"
if RERANKERS_ENABLED:
RERANKERS_MODEL_NAME = os.getenv("RERANKERS_MODEL_NAME")