Files
ailine/rag_indexer/requirements.txt
root ce6e459e19
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Has been cancelled
添加可选稀疏向量支持到索引器
- 完全兼容现有代码:默认 enable_sparse=False
- 启用时:需要安装 fastembed,设置 enable_sparse=True
- 自动初始化 FastEmbedSparse 和 RetrievalMode.HYBRID
- 失败时优雅回退到纯稠密
- 语法检查通过
2026-05-03 18:08:39 +08:00

36 lines
587 B
Plaintext

# RAG Indexer - 本地索引工具依赖
# 依赖 rag_core (从 ../backend/rag_core 导入)
# Core
pydantic==2.12.5
python-dotenv==1.2.2
typing-extensions==4.15.0
# LangChain (用于文档处理)
langchain==1.2.15
langchain-community==0.4.1
langchain-core==1.2.28
tiktoken>=0.12.0
# Vector DB
qdrant-client==1.17.1
# 可选:用于稀疏向量支持
# fastembed>=0.3.0
# HTTP
httpx==0.28.1
# Utilities
tenacity==9.1.4
rich==15.0.0
PyYAML==6.0.3
numpy>=1.26.2
# Document Processing
unstructured==0.22.21
pypdf==6.10.0
beautifulsoup4==4.14.3
lxml==6.1.0
pandas==3.0.2
spacy==3.8.14