mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
Merge commit 'd0c1d88057' into dev
This commit is contained in:
commit
e7c17c327c
2 changed files with 2 additions and 2 deletions
|
|
@ -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 设置)
|
||||
- 利用混合搜索(语义搜索 + 全文搜索,结合倒数排名融合)
|
||||
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue