"Itβs hard for CX teams to detect rising frustration or satisfaction trends across support channels (emails, chats, tickets)."
We built an AI-powered dashboard that analyzes customer feedback in real-time (from web forms, emails, and tickets), classifies emotional tone (positive, neutral, negative), and alerts the team if negative sentiment spikes.
Our virtual AI assistant, LIZA, provides real-time suggestions based on recent complaints using LLMs (via Sarvam AI/OpenRouter API).
β
Sentiment analysis from feedback
β
Visual analytics (charts for sentiment, activity, top complaints)
β
Chat-based assistant βLIZAβ for suggestions
β
Live feedback stream
β
Tracks engagement levels: Promoters, Passives, Detractors
β
Clean Tailwind + Chart.js frontend
β
Full Flask backend with CSV-based feedback storage
- Frontend: HTML, TailwindCSS, Chart.js
- Backend: Python, Flask
- AI Integration: Sarvam AI via OpenRouter API (used in
suggestion_agent.py
) - Data Handling: pandas, CSV
- Hosting Ready: Portable for deployment on Render/Heroku/Localhost
This was a 3-day intense hackathon where:
- We used AI responsibly β yes, we took help, but we engineered prompts, debugged countless errors, iterated fast, and learned deeply.
- We explored prompt-tuning, model handling, backend integration, and frontend polish.
- I made mistakes, learned from them, and gave this project my π― percent.
- The biggest takeaway: how to use AI tools efficiently to solve real problems.
We hope you like our project as much as we loved building it. π
π project-root β βββ app.py # Main Flask server βββ feedback.csv # Stores all feedback data βββ suggestion_agent.py # AI generation using Sarvam AI βββ sentiment_agent.py # Handles sentiment classification βββ feedback_handler.py # Handles data saving βββ chart_generator.py # Prepares data for frontend β βββ templates/ β βββ insights.html # Dashboard (main) β βββ index.html # Web feedback form β βββ ticket.html # Ticket feedback form β βββ email.html # Email feedback form
yaml Copy Edit
This project is my solo submission for a hackathon, built with:
AI support (Sarvam, ChatGPT, etc.)
My own full-stack implementation
3 days of hands-on effort, learning, debugging, and improving every module
This was not just a project, but a learning journey. From prompt engineering to building a full-stack AI tool, this experience helped me grow immensely as a developer and a problem-solver.
Thank you for checking it out. β€οΈ
Install these using pip install -r requirements.txt
Flask
pandas
requests
# Step 1: Clone this repo
git clone https://github.com/MeNoodie/customer_sentiment.project.git
cd sentiment-watchdog
# Step 2: Create virtual env (optional)
python -m venv venv
source venv/bin/activate # or venv\Scripts\activate on Windows
# Step 3: Install dependencies
pip install -r requirements.txt
# Step 4: Run the app
python app.py
headers = {
"Authorization": "Bearer YOUR_OPENROUTER_API_KEY",
"Content-Type": "application/json"
}
Let me know if you want a badge section (`Built With`, `Hackathon Submission`, etc.) or a zipped release for submission.