Files
Auto-Finance/src/doc/prompts

last_reviewed
last_reviewed
2026-06-11

src/doc/prompts — LLM 提示词模板

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

模板清单

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

加载方式

from src.doc.prompt import build_invoice_system_prompt, build_travel_info_system_prompt