基于LangGraph的智能保险合同 PDF 分析与问答助手,支持要点提取、检索、风险高亮、公式解析与可视化。AI-powered insurance contract PDF assistant: summarization, semantic/keyword search, risk highlighting, formula extraction, and visualization.
本项目基于大语言模型(DeepSeek LLM)与LangGraph多节点流程编排,实现了对保险合同 PDF 的智能分析与问答。支持合同内容摘要、语义和关键词混合检索、风险条款高亮、公式结构化提取、保险利益可视化等多种功能。 个人练手项目,用于学习交流,欢迎参考学习。
insurance_assistant/
├── main.py # 入口程序
├── config.py # 配置与全局变量
├── pdf_utils.py # PDF 处理工具
├── graph_builder.py # 流程图构建
├── nodes/ # 各功能节点
├── requirements.txt # 依赖列表
├── .env # 环境变量
├── .gitignore
└── README.md
requirements.txt安装依赖:
pip install -r requirements.txt
项目根目录下创建 .env 文件,内容形如:
DEEPSEEK_API_KEY=你的_api_key
将需要分析的保险合同 PDF 放在根目录路径(如 example.pdf)。
python main.py
交互示例:
保险助手已启动,多轮对话模式,输入“退出”可结束。
用户:请帮我总结一下这份保险合同的主要条款
保险助手:(输出合同摘要)
用户:查找本合同的免责条款
保险助手:(输出相关条款及页码、关键词高亮)
.env 文件包含敏感密钥,请勿上传至 GitHub。如有建议或问题,欢迎 issue 交流!
Open-source AI coding agent for the terminal. Claude Code-grade accuracy with smart model routing — uses the right AI model for each task, cutting costs 10x. Supports Claude, GPT, Gemini, DeepSeek & more.
A general-purpose Python framework for building LLM agents and multi-agent systems. "Four lines of code, an agent with memory."
Ultimate LLM API Integration Cookbook 2026 for Cursor & AI Agents
Ultimate Multi-Agent OS for Autonomous AI NPCs 2026
PrivateAgent is an open-source Android automation agent built with Flutter. It utilizes the DeepSeek API and native Android Accessibility Services to interpret screen layouts and execute multi-step tasks across any installed application via natural language commands.
把一队分工 Agent 织成一条写小说的流水线,做成桌面客户端;写作指纹让它越写越像你(BYO DeepSeek key,纯本地)。
Workflows from the Neura Market marketplace related to this DeepSeek resource