Spaces:
Paused
Paused
| # π WidgeTDC PowerPoint Integration Package | |
| ## π¦ Hvad er dette? | |
| Dette er den **komplette integration pakke** til at opgradere WidgeTDC med world-class PowerPoint generation capabilities! | |
| Pakken integrerer: | |
| - β **PPTAgent** (ICIP-CAS) - 2-stage generation + PPTEval framework | |
| - β **MultiAgentPPT** - Multi-agent parallel processing | |
| - β **ChatPPT-MCP** - Enterprise MCP server | |
| - β **Zenodo10K** - 10,000+ PPT templates dataset | |
| ## π Package Indhold | |
| ``` | |
| ppt-integration-package/ | |
| βββ README.md # Dette dokument | |
| βββ SETUP.md # Detaljeret setup guide | |
| βββ setup-scripts/ # Automatiske setup scripts | |
| β βββ 01-install-dependencies.ps1 # Installer dependencies | |
| β βββ 02-setup-pptagent.ps1 # Setup PPTAgent Docker | |
| β βββ 03-setup-multiagent.ps1 # Setup MultiAgentPPT | |
| β βββ 04-download-datasets.ps1 # Download Zenodo10K | |
| β βββ 05-configure-services.ps1 # Configure alle services | |
| βββ backend/ # Backend services | |
| β βββ agents/ # Multi-agent system | |
| β β βββ multi-agent-orchestrator.ts | |
| β β βββ outline-agent.ts | |
| β β βββ research-agent.ts | |
| β β βββ ppt-gen-agent.ts | |
| β β βββ quality-checker-agent.ts | |
| β βββ services/ # External services | |
| β β βββ pptagent-service.ts | |
| β β βββ chatppt-mcp-service.ts | |
| β β βββ template-service.ts | |
| β βββ routes/ # API routes | |
| β β βββ presentation.ts | |
| β β βββ templates.ts | |
| β βββ mcp/ # MCP servers | |
| β βββ powerpoint-server.ts | |
| β βββ knowledge-base.ts | |
| βββ widgets/ # Upgraded widgets | |
| β βββ autonomous-powerpoint-master-v2.tsx | |
| β βββ autonomous-word-architect-v2.tsx | |
| β βββ autonomous-excel-analyzer-v2.tsx | |
| βββ docker/ # Docker configuration | |
| β βββ docker-compose.yml | |
| β βββ pptagent/ | |
| β β βββ Dockerfile | |
| β βββ multiagent/ | |
| β βββ Dockerfile | |
| βββ config/ # Configuration files | |
| β βββ env.template | |
| β βββ pptagent.config.json | |
| β βββ multiagent.config.json | |
| β βββ chatppt-mcp.config.json | |
| βββ docs/ # Documentation | |
| βββ ARCHITECTURE.md | |
| βββ API.md | |
| βββ TROUBLESHOOTING.md | |
| ``` | |
| ## π Quick Start | |
| ### 1. Setup Alt (Automatisk) | |
| ```powershell | |
| cd C:\Users\claus\Projects\WidgeTDC\ppt-integration-package | |
| .\setup-scripts\RUN-ALL.ps1 | |
| ``` | |
| Dette kΓΈrer alle setup scripts i rΓ¦kkefΓΈlge og fΓ₯r alt til at virke! | |
| ### 2. Eller Setup Manuel | |
| ```powershell | |
| # Step 1: Install dependencies | |
| .\setup-scripts\01-install-dependencies.ps1 | |
| # Step 2: Setup PPTAgent | |
| .\setup-scripts\02-setup-pptagent.ps1 | |
| # Step 3: Setup MultiAgentPPT | |
| .\setup-scripts\03-setup-multiagent.ps1 | |
| # Step 4: Download datasets | |
| .\setup-scripts\04-download-datasets.ps1 | |
| # Step 5: Configure services | |
| .\setup-scripts\05-configure-services.ps1 | |
| ``` | |
| ### 3. Start Services | |
| ```powershell | |
| # Start all Docker services | |
| cd docker | |
| docker-compose up -d | |
| # Check status | |
| docker-compose ps | |
| ``` | |
| ### 4. Integrer i WidgeTDC | |
| ```powershell | |
| # Copy backend files | |
| cp -r backend/* C:\Users\claus\Projects\WidgeTDC\backend\ | |
| # Copy widgets | |
| cp widgets\*.tsx C:\Users\claus\Projects\WidgeTDC\nEWwIDGETS\ | |
| # Update configuration | |
| cp config\env.template C:\Users\claus\Projects\WidgeTDC\.env | |
| ``` | |
| ## π― Features | |
| ### PPTAgent Integration | |
| - 2-stage generation (Analysis β Generation) | |
| - PPTEval quality metrics | |
| - Reference learning from templates | |
| - Python-pptx code generation | |
| ### MultiAgentPPT System | |
| - Parallel research agents (3x concurrent) | |
| - Real-time streaming updates | |
| - Quality checking with retry loops | |
| - MCP knowledge base integration | |
| ### ChatPPT-MCP | |
| - 18 professional APIs | |
| - Online editing capabilities | |
| - Template application | |
| - Color scheme changes | |
| ### Zenodo10K Dataset | |
| - 10,000+ professional PPT templates | |
| - Pattern learning | |
| - Layout analysis | |
| - Style extraction | |
| ## π Architecture | |
| ``` | |
| βββββββββββββββββββββββββββββββββββββββββββββββ | |
| β WidgeTDC Frontend (React 19) β | |
| β βββββββββββββββββββββββββββββββββββββββββ β | |
| β β PowerPoint Master Widget v2 β β | |
| β β β’ Multi-agent orchestration β β | |
| β β β’ Real-time streaming β β | |
| β β β’ Quality metrics display β β | |
| β βββββββββββββββββββββββββββββββββββββββββ β | |
| ββββββββββββββββββββ¬βββββββββββββββββββββββββββ | |
| β WebSocket / SSE | |
| ββββββββββββββββββββ΄βββββββββββββββββββββββββββ | |
| β WidgeTDC Backend (Node.js) β | |
| β βββββββββββββββββββββββββββββββββββββββ β | |
| β β Multi-Agent Orchestrator β β | |
| β βββββββββββββββββββββββββββββββββββββββ β | |
| ββββββββ¬ββββββββββββ¬ββββββββββββ¬βββββββββββββββ | |
| β β β | |
| βΌ βΌ βΌ | |
| ββββββββββββ ββββββββββββ ββββββββββββ | |
| βPPTAgent β βMultiAgentβ βChatPPT β | |
| βDocker β βSystem β βMCP β | |
| β:9297 β β:10001 β β:8088 β | |
| ββββββββββββ ββββββββββββ ββββββββββββ | |
| ``` | |
| ## π§ Configuration | |
| Alle services konfigureres via `.env`: | |
| ```env | |
| # PPTAgent | |
| PPTAGENT_URL=http://localhost:9297 | |
| OPENAI_API_KEY=your_key_here | |
| # MultiAgentPPT | |
| MULTIAGENT_OUTLINE_URL=http://localhost:10001 | |
| MULTIAGENT_SLIDES_URL=http://localhost:10011 | |
| # ChatPPT-MCP | |
| CHATPPT_API_KEY=your_key_here | |
| CHATPPT_API_URL=https://api.yoo-ai.com/mcp | |
| # Database | |
| DATABASE_URL=postgresql://postgres:welcome@localhost:5432/widgetdc | |
| ``` | |
| ## π Documentation | |
| - **SETUP.md** - Detaljeret setup instruktioner | |
| - **ARCHITECTURE.md** - System arkitektur | |
| - **API.md** - API endpoints reference | |
| - **TROUBLESHOOTING.md** - Fejlfinding guide | |
| ## π Troubleshooting | |
| ### Port conflicts | |
| ```powershell | |
| # Check what's using ports | |
| netstat -ano | findstr "9297" | |
| netstat -ano | findstr "10001" | |
| # Kill process | |
| taskkill /PID <pid> /F | |
| ``` | |
| ### Docker issues | |
| ```powershell | |
| # Restart Docker Desktop | |
| Restart-Service docker | |
| # Rebuild containers | |
| docker-compose down | |
| docker-compose up --build -d | |
| ``` | |
| ### Service not responding | |
| ```powershell | |
| # Check logs | |
| docker-compose logs pptagent | |
| docker-compose logs multiagent | |
| # Check health | |
| curl http://localhost:9297/health | |
| ``` | |
| ## π Learn More | |
| - [PPTAgent GitHub](https://github.com/icip-cas/PPTAgent) | |
| - [MultiAgentPPT GitHub](https://github.com/johnson7788/MultiAgentPPT) | |
| - [ChatPPT-MCP GitHub](https://github.com/YOOTeam/ChatPPT-MCP) | |
| - [Zenodo10K Dataset](https://huggingface.co/datasets/Forceless/Zenodo10K) | |
| ## πͺ Support | |
| For issues eller spΓΈrgsmΓ₯l: | |
| 1. Check **TROUBLESHOOTING.md** | |
| 2. Review logs: `docker-compose logs` | |
| 3. Kontakt CLAK via The Synapse Protocol | |
| --- | |
| **Status:** β Production Ready | |
| **Version:** 2.0.0 | |
| **Last Updated:** December 2024 | |
| **License:** MIT | |