Prism
Query, Visualize, Export, All in Natural Language
Created on 9th November 2025
•
Prism
Query, Visualize, Export, All in Natural Language
The problem Prism solves
The Problem It Solves
Most organizations especially small businesses struggle to use their own data because accessing insights requires technical skills, writing SQL, or waiting for developers. Simple tasks like checking sales trends, understanding customer behavior, or analyzing expenses become slow and inefficient. As a result, valuable data remains unused, and decision-making suffers. MI-7 solves this by making data analysis instant, conversational, and accessible to everyone.
What People Can Use It For
1. Ask Any Data Question in Plain English
People can chat with their data just like they chat with a human:
- “Show me my top-selling products.”
- “Find anomalies in last month’s revenue.”
- “Plot a box chart of expenses from the Excel file.”
MI-7 converts these into accurate SQL or Python code automatically.
2. Use Data From Any Source — Even Excel/CSV
MI-7 supports:
- Excel files
- CSV files
- MySQL, PostgreSQL, SQLite
- (Plus upcoming support for MongoDB, Firebase, and more)
Users can upload sheets and instantly run analysis without formulas or BI tools.
3. Automatic Visualizations and Reports
MI-7 generates:
- Charts and graphs
- Anomaly detection visuals
- Statistical summaries
Users can export everything to Excel or PDF in one click.
4. Built for Small Businesses Too
Small businesses often don’t have data teams. MI-7 becomes their AI data analyst:
- Analyze sales, inventory, expenses, customers
- Understand trends without hiring analysts
- Make faster decisions from simple English questions
5. Faster, Safer, and More Accurate Insights
- Schema-aware RAG improves SQL accuracy
- Real-time code execution eliminates manual errors
- Multi-source support centralizes all business data in one place
Challenges we ran into
Challenges We Faced
1. Deep SQL Agent Reasoning
Building an agent capable of performing context-aware SQL generation, multi-step reasoning, and deep analytical queries proved difficult.
- Ensuring the agent correctly interprets the user’s analytical intent (aggregation, joins, correlations) required continuous prompt refinement.
- Handling ambiguous natural-language questions and converting them into valid SQL demanded extensive testing.
2. Multi-Database Compatibility
Supporting multiple database types introduced significant architectural complexity.
- SQL dialect differences (MySQL vs PostgreSQL vs SQLite) caused query inconsistencies.
- Schema extraction and metadata normalization across SQL, NoSQL, and file-based sources (CSV/XLSX) required a unified abstraction layer.
3. Graph Plotting Pipeline
Initially, we attempted to generate visualizations directly in JavaScript from backend results.
- Inconsistent formatting, large dataset handling, and LLM-generated JS chart code created reliability issues.
- We ultimately standardized on a Python-based plotting pipeline, which allowed the agent to generate stable matplotlib outputs that were then streamed to the frontend.
4. Semantic Understanding of Columns
The system still struggles with semantic interpretation of column meaning.
- LLMs often treat column names literally without understanding business context (e.g., “amount”, “value”, “total” being synonymous).
- This affects query accuracy and requires an improved embedding-based semantic layer.
5. 3D Schema Visualization in React + Three.js
Implementing interactive 3D ER diagrams with React and Three.js was one of the most technically challenging components.
- Achieving physics-based node interaction, smooth rendering, and proper relationship mapping required major iterations.
- Maintaining performance for large schemas demanded optimization and dynamic loading techniques.
Tracks Applied (1)
Best Use of Gemini API
Major League Hacking
Technologies used

