Web Analytics

PPTAgent

⭐ 3354 stars Simplified Chinese by icip-cas

🌐 语言

https://github.com/user-attachments/assets/938889e8-d7d8-4f4f-b2a1-07ee3ef3991a

📫 联系方式

本仓库的主要贡献者为一名预计2026年毕业的硕士研究生,欢迎联系合作或交流机会。
>
本仓库的主要贡献者是一名 2026 届硕士毕业生,欢迎联系合作或交流机会。

📅 新闻动态

📖 用法

[!重要]
1. 所有这些 API 密钥、配置和服务都是必需的。
2. Agent 主体建议:科研 Agent 使用 Claude,设计 Agent 使用 Gemini。GLM-4.7 也是开源模型中的不错选择。
3. 支持离线模式,功能有限(详见下文离线配置)。

1. 环境配置

  cp deeppresenter/deeppresenter/config.yaml.example deeppresenter/deeppresenter/config.yaml
  cp deeppresenter/deeppresenter/mcp.json.example deeppresenter/deeppresenter/mcp.json
  ``

  • 在线设置
  • MinerU:在 mineru.net 申请 API 密钥。请注意每个密钥有效期为 14 天。
  • Tavily:在 tavily.com 申请 API 密钥。
  • LLM:在 config.yaml 中设置您的模型端点、API 密钥以及相关参数。
  • 离线设置
  • MinerU:按照 MinerU docker 指南 的说明部署 MinerU 服务器。
  • 配置开关:在 config.yaml 中设置 offline_mode: true,以避免加载依赖网络的工具(例如 fetchsearch)。
  • MinerU 端点:在 mcp.json 中将 MINERU_API_URL 设置为您的本地 MinerU 服务 URL。

2. 服务启动

构建 docker 镜像:docker compose build

  • 通过 Docker Compose
`bash docker compose up -d `

  • 本地运行
`bash cd deeppresenter pip install -e . playwright install-deps playwright install chromium npm install npx playwright install chromium python webui.py `

[!TIP]
🚀 All configurable variables can be found in constants.py.

💡 Case Study

  • #### Prompt: Please present the given document to me.

图片1

图片2

图片3

图片4

图片5

图片6

图片7

图片8

图片9

图片10

  • #### Prompt: 请介绍小米 SU7 的外观和价格

图片1

图片2

图片3

图片4

图片5

图片6

  • #### Prompt: 请制作一份高中课堂展示课件,主题为“解码立法过程:理解其对国际关系的影响”

图片1

图片2

图片3

图片4

图片5

图片6

图片7

图片8

图片9

图片10

图片11

图片12

图片13

图片14

图片15


Star History Chart

Citation 🙏

If you find this project helpful, please use the following to cite it:

bibtex @inproceedings{zheng-etal-2025-pptagent, title = "{PPTA}gent: Generating and Evaluating Presentations Beyond Text-to-Slides", author = "Zheng, Hao and Guan, Xinyan and Kong, Hao and Zhang, Wenkai and Zheng, Jia and Zhou, Weixiang and Lin, Hongyu and Lu, Yaojie and Han, Xianpei and Sun, Le", editor = "Christodoulopoulos, Christos and Chakraborty, Tanmoy and Rose, Carolyn and Peng, Violet", booktitle = "Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing", month = nov, year = "2025", address = "Suzhou, China", publisher = "Association for Computational Linguistics", url = "https://aclanthology.org/2025.emnlp-main.728/", doi = "10.18653/v1/2025.emnlp-main.728", pages = "14413--14429", ISBN = "979-8-89176-332-6", abstract = "Automatically generating presentations from documents is a challenging task that requires accommodating content quality, visual appeal, and structural coherence. Existing methods primarily focus on improving and evaluating the content quality in isolation, overlooking visual appeal and structural coherence, which limits their practical applicability. To address these limitations, we propose PPTAgent, which comprehensively improves presentation generation through a two-stage, edit-based approach inspired by human workflows. PPTAgent first analyzes reference presentations to extract slide-level functional types and content schemas, then drafts an outline and iteratively generates editing actions based on selected reference slides to create new slides. To comprehensively evaluate the quality of generated presentations, we further introduce PPTEval, an evaluation framework that assesses presentations across three dimensions: Content, Design, and Coherence. Results demonstrate that PPTAgent significantly outperforms existing automatic presentation generation methods across all three dimensions." } ``

--- Tranlated By Open Ai Tx | Last indexed: 2026-02-22 ---