- 完全兼容现有代码:默认 enable_sparse=False - 启用时:需要安装 fastembed,设置 enable_sparse=True - 自动初始化 FastEmbedSparse 和 RetrievalMode.HYBRID - 失败时优雅回退到纯稠密 - 语法检查通过
This commit is contained in:
@@ -14,6 +14,8 @@ tiktoken>=0.12.0
|
||||
|
||||
# Vector DB
|
||||
qdrant-client==1.17.1
|
||||
# 可选:用于稀疏向量支持
|
||||
# fastembed>=0.3.0
|
||||
|
||||
# HTTP
|
||||
httpx==0.28.1
|
||||
|
||||
Reference in New Issue
Block a user