Tailor · 代码证据驱动的简历定制架构

Tailor · 代码证据驱动的简历定制架构 A architecture diagram generated by Archify. 求职者 · 档案 · 项目 · JD · 申请 · Architecture component 求职者 档案 · 项目 · JD · 申请 React 工作台 · 定制 · 版本 · 顾问 · 面试 · 导出 · Architecture component React 工作台 定制 · 版本 · 顾问 · 面试 · 导出 FastAPI 路由层 · /auth · /resume · /projects · /apply · /agent · Architecture component FastAPI 路由层 /auth · /resume · /projects · /apply · /agent 简历定制 Workflow · 分析 JD → 匹配 → 生成 → 精修 → 版本 · Architecture component · 代码编排 简历定制 Workflow 分析 JD → 匹配 → 生成 → 精修 → 版本 代码编排 Code RAG · 克隆 · 结构化切块 · 向量检索 · Architecture component · 真实代码证据 Code RAG 克隆 · 结构化切块 · 向量检索 真实代码证据 PostgreSQL + pgvector · 档案 · JD · 申请版本 · code_chunks · Architecture component PostgreSQL + pgvector 档案 · JD · 申请版本 · code_chunks DeepSeek 模型服务 · flash 结构化抽取 · pro 生成推理 · Architecture component DeepSeek 模型服务 flash 结构化抽取 · pro 生成推理 GitHub 仓库 · 用户提交的项目源代码 · Architecture component GitHub 仓库 用户提交的项目源代码 Ollama bge-m3 · 本地 1024 维 embedding · Architecture component Ollama bge-m3 本地 1024 维 embedding Tailor 顾问 Agent · 手写 ReAct · 工具轨迹 · 写入限额 · Architecture component · 修改先建版本 Tailor 顾问 Agent 手写 ReAct · 工具轨迹 · 写入限额 修改先建版本 Word 导出器 · 固定单栏模板 · python-docx · Architecture component Word 导出器 固定单栏模板 · python-docx 可投递 DOCX · 固定排版 · 动态内容 · Architecture component 可投递 DOCX 固定排版 · 动态内容 Axios + JWT 业务路由 检索证据 读写向量 分析与生成 浅克隆 / 拉取 bge-m3 embedding 顾问会话 检索与版本工具 当前版本 生成 DOCX Legend 前端 应用服务 数据存储 外部系统与产物

证据先行

  • • GitHub 代码按语言结构切块,经 bge-m3 向量化写入 pgvector
  • • 生成简历与面试内容前检索真实文件、片段和 chunk 位置

可控生成

  • • 代码负责 analyze → match → generate → chat → export 的固定流程
  • • 顾问 Agent 可自主选工具,但写操作受限且必须落成新版本

当前运行边界

  • • 索引使用 FastAPI BackgroundTasks,尚未接入外部任务队列
  • • 内容动态生成,DOCX 排版由 exporter.py 固定控制