Skip to content

aldotobing/customer-intelligence

Repository files navigation

Customer Sentiment Insight 📊

Turn unstructured feedback into board-ready strategic insights.

Customer Sentiment Insight is an AI-powered analytics dashboard that transforms raw customer reviews, support tickets, and social media comments into actionable intelligence.

Powered by Google Gemini 3.0 Pro, it goes beyond simple keyword matching to understand context, sarcasm, and complex emotional drivers, generating executive summaries and strategic priorities automatically.

License React Gemini TypeScript

✨ Key Features

  • 🧠 Deep Semantic Analysis: Uses Gemini 3.0 Pro with "Thinking" capabilities to process large batches of text.
  • 📈 Sentiment Trends: Visualizes how customer sentiment evolves over time.
  • ☁️ Topic Clustering: Generates semantic word clouds to identify recurring themes (not just keyword frequency).
  • 📋 Executive Summary: Auto-generates professional, strategic briefs suitable for leadership.
  • 💬 Chat with Data: Integrated RAG (Retrieval-Augmented Generation) chat interface to ask specific questions about the uploaded data.
  • 🎯 Strategic Priorities: Identifies key actionable areas and sentiment drivers (Impact scoring).
  • 🌍 Multi-Language Support: Full support for English and Indonesian (UI & Analysis).
  • 📄 PDF Export: One-click generation of high-fidelity PDF reports.

🛠️ Tech Stack

  • Frontend: React 19, Tailwind CSS, Lucide React
  • Visualization: Recharts, D3.js
  • AI/LLM: Google Gemini API (@google/genai SDK)
  • Models Used:
    • gemini-3-pro-preview (Deep Analysis & Reasoning)
    • gemini-3-flash-preview (Fast Validation)
  • Utilities: html2canvas, jspdf

🚀 Getting Started

Prerequisites

  • Node.js (v18 or higher)
  • A Google Cloud Project with the Gemini API enabled.
  • An API Key from Google AI Studio.

Installation

  1. Clone the repository

    git clone https://github.com/aldotobing/customer-sentiment-insight.git
    cd customer-sentiment-insight
  2. Install dependencies

    npm install
    # or
    yarn install
  3. Environment Setup Create a .env file in the root directory and add your Google Gemini API Key:

    API_KEY=your_google_api_key_here

    Note: Ensure your API key has access to the Gemini 3.0 Preview models.

  4. Run the Application

    npm start
    # or
    npm run dev

💡 How It Works

  1. Input: Paste a batch of raw text (reviews, emails, survey results).
  2. Validation: The system checks if the content is relevant using gemini-3-flash.
  3. Reasoning: The system uses gemini-3-pro with a high "thinking budget" to analyze timeline data, emotional profiles, and extract drivers.
  4. Visualization: Data is rendered into interactive charts and summarized text.
  5. Exploration: Use the "Ask AI" chat bubble to dig deeper into specific findings.

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

👤 Author

Aldo Tobing

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Turn unstructured feedback into board-ready strategic insights. Customer Sentiment Insight is an AI-powered analytics dashboard that transforms raw customer reviews, support tickets, and social media comments into actionable intelligence.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors