DiploMate is a full-stack, AI-powered collaboration platform built for Model United Nations (MUN) delegates. It goes far beyond speech generation — DiploMate helps you research deeply, align with your country's stance, collaborate with co-delegates, and prepare compelling, agenda-specific content.
Think of it as your researcher, writer, and diplomatic strategist — all in one tab.
When you join an event, you’re assigned a country and committee. All AI responses — from speeches to rebuttals — are tailored to your position on the given agenda.
Each MUN event has its own multi-panel dashboard:
- 📌 Event Context Panel: View your agenda, committee, country, and co-delegates.
- 📚 Knowledge Base Manager: Add links or raw text as research sources, visible to all delegates.
- 💬 Chat Panel: Ask the AI for help — with or without RAG (Retrieval-Augmented Generation).
Generate formal, structured opening speeches, draft clauses, and more — grounded in actual context. Save and revisit your drafts at any time.
Anticipate common attacks, counterpoints, and tricky questions from other delegates — and prepare responses like a pro.
- 📄 Draft resolution generator
- 📤 Export speeches & rebuttals to PDF/Word
- 🧾 Saved content dashboard
- 🔐 Email-password auth (JWT-secured)
- 🌐 Real-time source ingestion from APIs/web
- 📱 Mobile app with sync
- 🧠 RAG pipeline to ground responses in your knowledge base using vector search (ChromaDB)
| Layer | Tech |
|---|---|
| Frontend | Next.js, TailwindCSS |
| Backend | Node.js, Express.js, MongoDB |
| AI Layer | FastAPI, ChromaDB, Sentence Transformers |
| LLM API | Gemini 1.5 Flash |
| Auth | JWT, bcrypt |
.
├── client/ # Next.js frontend (TS + Tailwind)
├── server/ # Node.js backend (Express + MongoDB)
├── server-python/ # FastAPI AI service (query + ingestion)
└── docs/ # Architecture diagrams, prompts, etc.