[PR #1538] [MERGED] feat: add simple pptx_extractor #1942

Closed
opened 2026-02-16 11:15:39 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/1538
Author: @kurokobo
Created: 8/20/2025
Status: Merged
Merged: 8/21/2025
Merged by: @crazywoola

Base: feat/datasourceHead: pptx


📝 Commits (1)

  • 76f608e feat: add simple pptx_extractor

📊 Changes

6 files changed (+141 additions, -9 deletions)

View changed files

📝 tools/dify_extractor/README.md (+1 -4)
📝 tools/dify_extractor/manifest.yaml (+1 -1)
📝 tools/dify_extractor/requirements.txt (+1 -0)
📝 tools/dify_extractor/tools/dify_extractor.py (+3 -0)
📝 tools/dify_extractor/tools/dify_extractor.yaml (+4 -4)
tools/dify_extractor/tools/pptx_extractor.py (+131 -0)

📄 Description

Related Issues or Context

NOTE: This is intended for the feat/datasource branch, not for main.

Add simple extractor for PPTX to the dify_extractor plugin. This is a port of https://github.com/langgenius/dify/pull/24184.

  • Using python-pptx by the same maintainer of python-docx.
  • Based on the WordExtractor with minimal modification.
  • Support extracting images, tables, and hyperlinks (with http or https) in the slides.

Screenshots


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-official-plugins/pull/1538 **Author:** [@kurokobo](https://github.com/kurokobo) **Created:** 8/20/2025 **Status:** ✅ Merged **Merged:** 8/21/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `feat/datasource` ← **Head:** `pptx` --- ### 📝 Commits (1) - [`76f608e`](https://github.com/langgenius/dify-official-plugins/commit/76f608e5b28c3f969e420f363adaf5bbf8a105c4) feat: add simple pptx_extractor ### 📊 Changes **6 files changed** (+141 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `tools/dify_extractor/README.md` (+1 -4) 📝 `tools/dify_extractor/manifest.yaml` (+1 -1) 📝 `tools/dify_extractor/requirements.txt` (+1 -0) 📝 `tools/dify_extractor/tools/dify_extractor.py` (+3 -0) 📝 `tools/dify_extractor/tools/dify_extractor.yaml` (+4 -4) ➕ `tools/dify_extractor/tools/pptx_extractor.py` (+131 -0) </details> ### 📄 Description ## Related Issues or Context **NOTE: This is intended for the `feat/datasource` branch, not for `main`.** Add simple extractor for PPTX to the dify_extractor plugin. This is a port of https://github.com/langgenius/dify/pull/24184. - Using [python-pptx](https://pypi.org/project/python-pptx/) by the same maintainer of python-docx. - Based on the WordExtractor with minimal modification. - Support extracting images, tables, and hyperlinks (with http or https) in the slides. ## Screenshots - Example PPTX file (includes some images and tables) - https://create.microsoft.com/en-us/template/business-plan-presentation-96423eb0-8e02-4a99-b83b-bc60d19202d5 - Example: Slide 9 and 10 - <img width="430" height="478" alt="image" src="https://github.com/user-attachments/assets/ad99ed3d-5194-4878-9f9f-b38e68ab590e" /> - Result: - <img width="1820" height="697" alt="image" src="https://github.com/user-attachments/assets/4c2da655-007e-43bd-9f57-79c96cebedf6" /> - <img width="1359" height="861" alt="image" src="https://github.com/user-attachments/assets/5ee49a66-68e7-4b1c-9c86-1dd910a6eeaa" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 11:15:39 -05:00
yindo closed this issue 2026-02-16 11:15:39 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#1942