Files
Auto-Finance/src/infra/llm/prompts/README.md
wandering 1b35f07fd7 refactor: 架构重组 — doc/bot → core/infra,新增 Agent 调度模块
- src/doc/ 拆分为 src/core/extraction/, matching/, validation/(核心业务逻辑)
- src/bot/ 重命名为 src/infra/browser/(浏览器自动化基础设施)
- fill_consumable_doc.py → src/infra/documents/consumable.py
- 新增 Agent 调度模块:coordinator.py, events.py, session.py,重构 orchestrator.py
- 更新 AGENTS.md、README.md 及所有子目录 README
2026-07-02 18:36:19 +08:00

702 B

last_reviewed
last_reviewed
2026-06-12

src/infra/llm/prompts — LLM 提示词模板

存放 LLM 信息提取使用的系统提示词模板文件,由 src/infra/llm/prompt.py 动态加载。

模板清单

文件 用途
invoice_system.md 发票提取系统提示词:指导 LLM 从发票图片、支付截图、出差申请单等文档中提取结构化信息
travel_info_system.md 差旅信息提取系统提示词:指导 LLM 整合已结构化的发票信息、付款记录和出差申请单,生成差旅报销所需的结构化数据

加载方式

from src.infra.llm import build_invoice_system_prompt, build_travel_info_system_prompt