87ead4fa6a
- 对话区域: st.file_uploader + 全局 paste/drop 事件监听 + sessionStorage 桥接 - 文件预览芯片: 上传后显示在对话区域,可逐文件移除 - OCR 双层解析全面接入: file_parser(文字) + ocr_extractor(字段提取) - XLSX 解析: openpyxl 逐工作表/逐行读取 - 修复: create_session 强制写入 agent_state.session_id - 修复: load_session_node 不再从磁盘覆盖 session_id - 修复: 切换会话 _last_switched_to 哨兵防止无限 rerun Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
33 lines
509 B
Plaintext
33 lines
509 B
Plaintext
# 核心依赖
|
|
streamlit>=1.28.0
|
|
langgraph>=0.2.0
|
|
langchain>=0.3.0
|
|
langchain-openai>=0.2.0
|
|
langchain-anthropic>=0.3.0
|
|
langchain-ollama>=0.2.0
|
|
langchain-community>=0.3.0
|
|
|
|
# 向量数据库
|
|
chromadb>=0.5.0
|
|
|
|
# 验证服务
|
|
fastapi>=0.115.0
|
|
uvicorn[standard]>=0.30.0
|
|
lxml>=5.3.0
|
|
|
|
# 嵌入模型(本地)
|
|
sentence-transformers>=3.0.0
|
|
torch>=2.0.0
|
|
huggingface_hub>=0.19.0
|
|
tqdm>=4.65.0
|
|
|
|
# 工具类
|
|
python-dotenv>=1.0.0
|
|
httpx>=0.27.0
|
|
tiktoken>=0.7.0
|
|
openpyxl>=3.1.0
|
|
|
|
# 测试
|
|
pytest>=8.0.0
|
|
pytest-asyncio>=0.24.0
|