Media Bot
Media Bot
An AI-powered media planning platform with a conversational interface for campaign optimization. Combines LLMs with mathematical optimization to maximize ROI across marketing channels.
Features
- Conversational AI Interface — Stage-based chat that gathers campaign requirements (budget, objectives, audience, channels, duration)
- Dataset Upload — Drag & drop CSV/Excel files with historical performance data
- Budget Optimization — SciPy SLSQP algorithm for optimal channel allocation
- ROI Analysis — Automatic calculation of cost efficiency and audience reach metrics
- Channel Support — Meta, Snapchat, Google, TikTok (expandable)
- Session Persistence — SQLite-based conversation history
Technical Highlights
- Together AI (Llama 3.1 70B) for natural language understanding and plan generation
- SciPy optimization for mathematical budget allocation
- Pandas for data processing and analysis
- Framer Motion for smooth UI animations
- Glassmorphic design with dark theme
Tech Stack
| Layer | Technology |
|---|---|
| Frontend | React 19 + TypeScript + Vite |
| Backend | FastAPI |
| AI | Together AI (Llama 3.1 70B) |
| Optimization | SciPy SLSQP |
| Database | SQLite |
| Styling | Tailwind CSS + Framer Motion |
How It Works
- Requirements Gathering — Chat collects budget, objectives, target audience
- Data Analysis — Upload historical performance CSV/Excel
- Optimization — SciPy finds optimal budget split across channels
- Plan Generation — AI creates detailed channel-specific recommendations