|
|
a07e398739
|
refactor!: 完全异步化 RAG 系统,移除 LangChain ParentDocumentRetriever 依赖
构建并部署 AI Agent 服务 / deploy (push) Failing after 6m34s
- 重写 rag_core/vector_store.py:完全异步实现 aadd_documents、asimilarity_search
- 重写 app/rag/retriever.py:异步混合检索,移除同步兼容代码
- 修改 rag_indexer/index_builder.py:全链路异步调用
- 删除 rag_core/retriever_factory.py:不再使用 LangChain ParentDocumentRetriever
- 清理冗余导入和代码:移除 model_services 兼容、不需要的异常导入
- 更新 rag_indexer/README.md:反映新架构
核心改进:
- 完全异步化:索引构建和检索全链路 async/await
- 自定义实现:不再依赖 LangChain 的 ParentDocumentRetriever
- 双向量支持:子文档同时存储 dense + sparse 向量到 Qdrant
- 架构清晰:rag_core 公共组件、rag_indexer 索引、app/rag 检索
|
2026-05-04 14:33:12 +08:00 |
|
|
|
4209386c77
|
refactor: 统一导入方式,移除 sys.path 操作
构建并部署 AI Agent 服务 / deploy (push) Failing after 6m22s
- 重构所有模块导入,移除 sys.path.insert
- 统一使用 from backend.xxx 的绝对导入方式
- rag_core 包内使用相对导入(from .xxx)
- 移动 visualize_graph.py 到 tools/ 目录
- 添加必要的 __init__.py 文件
- 清理废弃文档和脚本
|
2026-05-04 12:55:45 +08:00 |
|
|
|
223d1c9afd
|
优化memory、rag和embedding模块
构建并部署 AI Agent 服务 / deploy (push) Failing after 5m5s
|
2026-04-29 10:52:01 +08:00 |
|
|
|
5e9bbd519f
|
测试修改
|
2026-04-21 20:49:10 +08:00 |
|
|
|
37e86f3bb1
|
参数配置统一
|
2026-04-21 19:06:34 +08:00 |
|
|
|
8b354b7ccc
|
重构代码,统一config配置
构建并部署 AI Agent 服务 / deploy (push) Failing after 47m14s
|
2026-04-21 11:02:16 +08:00 |
|