This project is an interactive dashboard providing a profound understanding of customer behavior and Key Performance Indicator (KPI) analysis derived from customer data. It facilitates the identification of customer segments, reveals trends, and offers invaluable insights into customer engagement with your business.
The development of InsightGPT, a market analysis consultancy based on Large Language Model (LLM) utilizing Retrieval Augmented Generation (RAG), referencing data analysis results and scientific market theories from various papers. This enables deeper and more reliable analysis tailored to prevailing market conditions.
This project harnesses the power of Retrieval Augmented Generation (RAG) in a Large Language Model (LLM) to unlock profound insights and unravel intricate relationships from customer data. Through the innovative fusion of retrieval and generation techniques, our RAG-LLM offers a dynamic approach to understanding customer behavior and preferences.
By fine-tuning the RAG-LLM on a specific dataset, we enhance its capacity to delve deep into the nuances of customer interactions, illuminating hidden patterns and uncovering invaluable insights. Join us on this journey as we leverage cutting-edge technology to revolutionize customer analytics and empower decision-making processes.
The LLM is based on the Transformer architecture with BERT-like embeddings. It has been trained on a large corpus of text data to develop a strong understanding of language structures and semantics.
The LLM has been fine-tuned on a customer dataset to adapt its general language understanding capabilities to the specific context of customer behavior and preferences. This fine-tuning process involves training the model on the customer dataset for several epochs to minimize the loss function and improve the model's performance.
The LLM is used to analyze customer data and extract meaningful insights. These insights are then visualized in the dashboard using interactive visualizations, allowing users to explore and compare customer segments.
- Customer clustering based on various factors such as spending behavior, product preference, loyalty, engagement, demographics, and payment & shipping preferences
- Interactive visualizations to explore and compare customer segments
- Customizable themes: dark mode and funky mode
- Discussion about the data using Multimodal LLM
To run the project, follow these steps:
- Clone the repository: bash git clone https://github.com/username/customer-segmentation-dashboard.git
- Navigate to the project directory: bash cd customer-segmentation-dashboard
- Install the required packages: bash pip install -r requirements.txt
- Run the application: bash streamlit run app.py
- Select a cluster to analyze from the sidebar.
- Explore the interactive visualizations to understand the cluster's characteristics.
- Customize the theme to your preference.
- Python 3.7+
- NumPy
- Pandas
- Streamlit
- Plotly
- openai
We welcome contributions! Please submit a pull request with your proposed changes.
- Masdar
- by Masdar's Personal Project (https://mahaseenlab.com/)