HomeAboutExperienceSkillsProjectsCVContact
Back to Projects

Lumina

AI Analytics Dashboard

Role
Lead Frontend Engineer
Timeline
Oct 2023 - Jan 2024
Team
3 Engineers, 1 Designer
Year
2024

Overview

Lumina revolutionizes how businesses interact with their data. By leveraging OpenAI's GPT-4, it translates natural language questions into complex SQL queries, visualizing the results instantly. Built with performance in mind, it handles millions of data points with sub-second latency.

Technical Journey

The Challenge

One of the main challenges was ensuring the accuracy of the generated SQL queries and handling potential security risks like SQL injection. We implemented a strict validation layer and a sandboxed execution environment.

The Solution

We used a combination of prompt engineering and distinct validation logic to sanitise inputs. We also implemented a caching layer to reduce API costs and improve response times for common queries.

Gallery

Project Impact

Reduced data query time by 60% for non-technical users and processed over 1M+ live data points daily.

Tech Stack

Frontend
Next.js 14
TypeScript
Tailwind CSS
Tremor UI
Backend
Node.js
PostgreSQL
Prisma
Redis
AI & Data
OpenAI GPT-4
LangChain
Tinybird

Key Features

  • Natural Language to SQL conversion
  • Real-time data visualization with Tremor
  • Automated predictive reporting
  • Role-based access control