M1-02 Vector & Retrieval Module #16
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
目标
设计知习后端向量存储与检索模块,为知识库和 RAG 系统提供 Qdrant 向量数据库的完整访问能力,包括 collection 管理、向量写入/删除、语义检索、rerank 和引用上下文组装。
本 Issue 只做模块架构设计,不直接实现代码。
背景说明
知习的知识库问答(RAG)和候选知识点生成依赖向量检索。用户上传的资料经过 Ingestion 模块解析、切片、embedding 后,需要写入 Qdrant 向量数据库。RAG Chat 查询时需要从 Qdrant 检索相关片段,经过 rerank 后组装成 LLM 上下文。
Vector & Retrieval 模块是全系统唯一的向量数据库访问入口。MySQL 是业务权威库,Qdrant 是索引库——这一原则必须遵守。
模块职责
本模块负责:
本模块不负责:
候选数据对象
基础设施依赖判断
API 设计
Internal Provider(供其他模块调用):
AAPI:
Domain Event 设计
Admin 视图设计
Qdrant 状态页:
检索调试页(Knowledge Ops 共享):
交付检查
验收标准
禁止事项
不建议当前阶段实现