GitHub · 3D 生成新仓库·· 17 天前AI 评分46
invoice-agent:基于 Gemma 3 4B 的发票生成 Agent 开源项目
NikhilBelwate/invoice-agent
来源与原文
GitHub · 3D 生成新仓库
发布时间:(北京时间)
阅读原始来源 · github.com ↗完整链接与内容说明
https://github.com/NikhilBelwate/invoice-agent
本站目前仅有 AI 导读与摘要,未展示原文正文;技术细节、代码和完整结论请查看原始来源。
AI 导读
开源项目 invoice-agent 接收 JSON 或纯文本的结账信息,纯文本时用 Gemma 3 4B(通过 Ollama 兼容端点)提取结构化数据,用 decimal.js 在 Node 中计算金额,PDFKit 内存生成 PDF,并经 Nodemailer/SMTP 发送,部署在 Vercel Functions 上。项目提供 POST /api/invoices、/api/a2a、/api/mcp 及健康检查等端点,支持 x-api-key 认证、限流(默认每分钟 20 次)与 Idempotency-Key 防重复发送,也可配置 Groq 等 OpenAI 兼容服务商替代 Gemma。
来源:GitHub · 3D 生成新仓库 · github.com