π Inspiration
Shopping online should be easy, but sifting through hundreds of reviews to find the best product can be time-consuming and frustrating. πβ³
We thought: What if AI could summarize reviews for you? Instead of spending hours reading, youβd get a concise breakdown of the pros, cons, and overall sentiment for any product.
Thatβs how ComparaSum was bornβa tool that helps users quickly compare products and make informed buying decisions without the hassle of endless scrolling.
βοΈ What It Does
ComparaSum is an AI-powered review summarizer that makes shopping faster and easier by:
β
Summarizing reviews for a given ASIN (Amazon Standard Identification Number)
β
Highlighting key pros & cons to help with decision-making
β
Comparing multiple products side by side
β
Providing overall sentiment analysis based on thousands of reviews
Right now, weβre focused on Beauty & Personal Care products ππ, as handling all of Amazonβs data would be too much. Our data goes up to 2023, ensuring relevant insights.
ποΈ How We Built It
Our system is built using a full-stack approach with LLMs, AWS, and MySQL:
πΉ Backend: Python + Flask to fetch and process data
πΉ Frontend: React + TypeScript + Tailwind CSS for a clean UI
πΉ Database: MySQL RDS storing Amazon review data
πΉ LLM Model: Llama via Groq for fast, high-quality text summarization
πΉ Cloud Infrastructure:
- EC2 instance to store and process the raw review dataset
- MySQL RDS to manage structured product data
How It Works:
1οΈβ£ We downloaded a massive dataset of Amazon reviews to an EC2 instance
2οΈβ£ Data was structured & stored in MySQL RDS
3οΈβ£ A Flask backend fetches relevant reviews based on ASIN
4οΈβ£ Our LLM model (Llama via Groq) summarizes the data
5οΈβ£ The React frontend displays the summarized insights
βοΈ Challenges We Ran Into
π AWS Setup β Setting up EC2, RDS, and networking for the first time was a steep learning curve
π Database Connectivity β Making MySQL RDS work with EC2 & Flask required debugging
π€ Choosing the Right LLM β We tested multiple models before finding Llama via Groq for the best balance of speed & accuracy
β‘ Time Constraints β Since this was our first hackathon, working under pressure to build a full-stack AI app was a challenge!
πͺ Accomplishments That We're Proud Of
β
Built a working AI-powered summarization tool π
β
Successfully set up AWS infrastructure from scratch βοΈ
β
Learned to work with EC2, RDS, and MySQL Workbench π οΈ
β
Created a React + Flask web app with real-time data fetching π₯
β
Many of us were first-time hackathon participants, and we delivered a functional product! π
π What We Learned
πΉ How to deploy & manage AWS services (EC2, RDS, S3, networking)
πΉ Working with large-scale datasets in MySQL
πΉ Optimizing Flask + React for better performance
πΉ Efficient LLM-based text summarization
πΉ Debugging database & API issues under time pressure
π What's Next for ComparaSum
π Accept direct Amazon links, not just ASINs
ποΈ Expand the dataset beyond Beauty & Personal Care
πΌοΈ Include product images from reviews (already stored in our database)
β‘ Improve LLM efficiency for even faster summaries
π± Make the UI more mobile-friendly
π οΈ Built With
π Flask | βοΈ React | π Tailwind CSS | π AWS (EC2, RDS) | π€ Llama (Groq) | ποΈ MySQL | π₯ TypeScript
π We had a blast building ComparaSum and canβt wait to improve it! π
Built With
- amazon-web-services
- flask
- html
- llama
- llm
- mysql
- python
- react
- tailwindcss
- typescript
Log in or sign up for Devpost to join the conversation.