diff --git a/README.zh-CN.md b/README.zh-CN.md index 9f118c147..605e28be0 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -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 设置) - 利用混合搜索(语义搜索 + 全文搜索,结合倒数排名融合) diff --git a/surfsense_backend/app/config/__init__.py b/surfsense_backend/app/config/__init__.py index 261df4974..149fedd39 100644 --- a/surfsense_backend/app/config/__init__.py +++ b/surfsense_backend/app/config/__init__.py @@ -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")