Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ Ticket Desk โ€” Support Intelligence Platform

Python Streamlit Scikit Learn NLP Pandas Plotly License


Project Status

This project is actively maintained and improved as part of my machine learning, NLP, and intelligent automation portfolio.

Status: Professional Internship Simulation โœ… Focus Area: NLP, Support Automation, Ticket Classification, Priority Prediction, Streamlit Dashboard Current Version: 1.0.0 Last Updated: May 2026


๐Ÿ“Š Overview

Ticket Desk โ€” Support Intelligence Platform is a professional NLP-based support automation dashboard designed to simulate an enterprise IT helpdesk intelligence system.

The platform automates first-level support ticket triage by classifying incoming tickets, predicting priority, recommending SLA guidance, routing tickets to the appropriate support team, and generating professional first-response drafts.

This project upgrades a machine learning internship task into a complete business-facing product simulation that combines NLP, machine learning, dashboard design, workflow automation, and stakeholder-friendly insights.

Built for: IT support teams, helpdesk managers, business analysts, recruiters, and ML project reviewers Use case: Ticket classification, priority prediction, SLA guidance, support routing, and response automation


๐ŸŽฏ Business Problem

Support teams receive large volumes of unstructured tickets every day. These tickets often need to be manually read, categorized, prioritized, assigned, and responded to.

This manual process can create several problems:

  • Slow first response times
  • Inconsistent ticket prioritization
  • Incorrect team routing
  • Higher SLA risk
  • More repetitive work for support agents
  • Limited visibility into ticket distribution and support workload

Ticket Desk addresses this problem by using machine learning to assist the first stage of ticket triage and convert raw support requests into structured, actionable support decisions.


๐Ÿง  Project Objective

The objective of this project is to build an intelligent support triage system that can:

  • Understand raw support ticket descriptions
  • Predict the most likely ticket category
  • Estimate the ticket priority level
  • Recommend SLA guidance
  • Suggest the correct support team
  • Generate a professional first-response draft
  • Present ticket and model insights through an interactive dashboard

The goal is not just to train a model, but to demonstrate how machine learning can be converted into a practical business workflow.


โœจ Core Features

๐ŸŽซ Intelligent Ticket Classification

  • Classifies support tickets into relevant issue categories.
  • Uses a trained LinearSVC model for category prediction.
  • Converts ticket text into numerical features using TF-IDF Vectorization.
  • Handles real-world unstructured support ticket descriptions.
  • Supports saved model loading for interactive dashboard inference.

๐Ÿšฆ Priority Prediction

  • Predicts ticket urgency as Low, Medium, or High.
  • Uses a Logistic Regression model for priority classification.
  • Supports rule-based fallback priority generation when source priority labels are unavailable.
  • Helps support teams identify tickets that may require faster attention.
  • Provides a foundation for SLA-aware support workflows.

๐Ÿงญ SLA Guidance

  • Maps predicted priority to practical SLA recommendations.
  • Helps determine how urgently a ticket should be handled.
  • Gives business-friendly explanations for support decision-making.
  • Makes the dashboard useful for both technical and non-technical users.

๐Ÿข Support Team Routing

  • Suggests the most suitable support team based on predicted category.
  • Reduces misrouting and repeated manual review.
  • Simulates real helpdesk assignment logic.
  • Connects machine learning output with business process automation.

๐Ÿ’ฌ First-Response Draft Generation

  • Generates a professional first-response message for support agents.
  • Uses predicted category and priority to create a contextual reply.
  • Helps reduce repetitive communication work.
  • Demonstrates how the system can assist support communication without fully replacing human agents.

๐Ÿ“ˆ Interactive Streamlit Dashboard

The dashboard includes multiple business-focused pages:

  • Dashboard Overview
  • Ticket Triage
  • Model Performance
  • Dataset Explorer
  • About Project

Each page is designed to present ML results in a way that recruiters, managers, and non-technical stakeholders can understand.


๐Ÿ“ธ Dashboard Preview

Screenshots can be added inside the visuals/ folder.

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚        Ticket Desk โ€” Support Intelligence Platform          โ”‚
โ”‚                                                               โ”‚
โ”‚  ๐Ÿ“Š Dashboard Overview                                        โ”‚
โ”‚  โ”œโ”€ Total Tickets: 47,837                                     โ”‚
โ”‚  โ”œโ”€ Category Accuracy: ~85%                                   โ”‚
โ”‚  โ”œโ”€ Priority Accuracy: ~96%                                   โ”‚
โ”‚  โ””โ”€ TF-IDF Features: 10,000                                   โ”‚
โ”‚                                                               โ”‚
โ”‚  ๐ŸŽซ Ticket Triage                                             โ”‚
โ”‚  โ”œโ”€ User enters support ticket description                    โ”‚
โ”‚  โ”œโ”€ System predicts issue category                            โ”‚
โ”‚  โ”œโ”€ System predicts ticket priority                           โ”‚
โ”‚  โ”œโ”€ SLA guidance is generated                                 โ”‚
โ”‚  โ”œโ”€ Support team is recommended                               โ”‚
โ”‚  โ””โ”€ First-response draft is created                           โ”‚
โ”‚                                                               โ”‚
โ”‚  ๐Ÿ“ˆ Model Performance                                         โ”‚
โ”‚  โ”œโ”€ Accuracy metrics                                          โ”‚
โ”‚  โ”œโ”€ Classification reports                                    โ”‚
โ”‚  โ””โ”€ Training summary                                          โ”‚
โ”‚                                                               โ”‚
โ”‚  ๐Ÿ” Dataset Explorer                                          โ”‚
โ”‚  โ”œโ”€ Sample ticket records                                     โ”‚
โ”‚  โ”œโ”€ Category distribution                                     โ”‚
โ”‚  โ””โ”€ Priority distribution                                     โ”‚
โ”‚                                                               โ”‚
โ”‚  ๐Ÿ’ผ Business Intelligence                                     โ”‚
โ”‚  โ””โ”€ Faster triage, better routing, SLA-aware decisions         โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ–ผ๏ธ Screenshots

Dashboard Overview

visuals/dashboard_overview.png

The dashboard overview highlights the dataset size, model accuracy, TF-IDF feature count, business value, category distribution, and priority distribution.


Ticket Triage

visuals/ticket_triage.png

The ticket triage page allows users to enter a support ticket and receive the predicted category, priority level, SLA guidance, suggested support team, urgency explanation, and first-response draft.


Model Performance

visuals/model_performance.png

The model performance page summarizes category accuracy, priority accuracy, dataset details, TF-IDF feature configuration, and classification reports.


Dataset Explorer

visuals/dataset_explorer.png

The dataset explorer provides sample records, dataset shape, column details, category counts, and priority distribution insights.


About Project

visuals/about_project.png

The about page explains the business problem, machine learning workflow, technology stack, and expected business impact of the support automation system.


๐Ÿ—๏ธ Architecture

NLP Support Automation Pipeline

Support Ticket Dataset
        โ†“
   Data Loading & Validation
   โ”œโ”€ Load CSV dataset
   โ”œโ”€ Detect text column
   โ”œโ”€ Detect category column
   โ””โ”€ Validate required fields
        โ†“
   Text Preprocessing
   โ”œโ”€ Clean raw ticket text
   โ”œโ”€ Normalize ticket descriptions
   โ””โ”€ Prepare labels
        โ†“
   Feature Engineering
   โ”œโ”€ TF-IDF Vectorization
   โ”œโ”€ 10,000 configured features
   โ””โ”€ Train/test split
        โ†“
   Model Training
   โ”œโ”€ LinearSVC for category classification
   โ”œโ”€ Logistic Regression for priority prediction
   โ””โ”€ Rule-based priority fallback
        โ†“
   Model Evaluation
   โ”œโ”€ Accuracy scores
   โ”œโ”€ Classification reports
   โ””โ”€ JSON training report
        โ†“
   Model Persistence
   โ”œโ”€ category_model.pkl
   โ”œโ”€ priority_model.pkl
   โ”œโ”€ tfidf_vectorizer.pkl
   โ””โ”€ model_report.json
        โ†“
   Streamlit Dashboard
   โ”œโ”€ Dashboard overview
   โ”œโ”€ Ticket triage
   โ”œโ”€ SLA guidance
   โ”œโ”€ Team routing
   โ”œโ”€ Response generation
   โ””โ”€ Dataset/model insights

Module Structure

Module Purpose
Data Loading Loads and validates the support ticket dataset
Text Cleaning Prepares raw ticket descriptions for NLP processing
Feature Engineering Converts ticket text into TF-IDF features
Category Classification Predicts ticket category using LinearSVC
Priority Prediction Predicts urgency level using Logistic Regression
SLA Guidance Converts priority into response-time guidance
Team Routing Recommends the most suitable support team
Response Generator Creates professional first-response drafts
Dashboard Provides interactive Streamlit pages for analysis
Model Storage Saves and loads ML artifacts using Joblib

๐Ÿ› ๏ธ Tech Stack

Layer Technology Purpose
Frontend Streamlit Interactive dashboard and user interface
Visualization Plotly Business charts and distribution visuals
NLP Features TF-IDF Vectorizer Text-to-feature transformation
Category Model LinearSVC Support ticket category classification
Priority Model Logistic Regression Ticket urgency prediction
Data Processing Pandas Dataset loading, cleaning, and analysis
Numerical Computing NumPy Array operations and ML support
Model Storage Joblib Saving and loading trained artifacts
Backend Python 3.11+ Core runtime and ML pipeline

๐Ÿ“ Project Structure

Ticket-Desk-Support-Intelligence-Platform/
โ”œโ”€โ”€ ๐Ÿ“„ README.md
โ”œโ”€โ”€ ๐Ÿ“‹ requirements.txt
โ”œโ”€โ”€ ๐Ÿ“„ main.py
โ”‚
โ”œโ”€โ”€ ๐Ÿ“‚ app/
โ”‚   โ””โ”€โ”€ app.py
โ”‚
โ”œโ”€โ”€ ๐Ÿ“‚ data/
โ”‚   โ””โ”€โ”€ all_tickets_processed_improved_v3.csv
โ”‚
โ”œโ”€โ”€ ๐Ÿ“‚ models/
โ”‚   โ”œโ”€โ”€ category_model.pkl
โ”‚   โ”œโ”€โ”€ priority_model.pkl
โ”‚   โ”œโ”€โ”€ tfidf_vectorizer.pkl
โ”‚   โ””โ”€โ”€ model_report.json
โ”‚
โ”œโ”€โ”€ ๐Ÿ“‚ notebooks/
โ”‚   โ””โ”€โ”€ 01_ticket_classification_model.ipynb
โ”‚
โ”œโ”€โ”€ ๐Ÿ“‚ scripts/
โ”‚   โ””โ”€โ”€ train_models.py
โ”‚
โ””โ”€โ”€ ๐Ÿ“‚ visuals/
    โ”œโ”€โ”€ dashboard_overview.png
    โ”œโ”€โ”€ ticket_triage.png
    โ”œโ”€โ”€ model_performance.png
    โ”œโ”€โ”€ dataset_explorer.png
    โ””โ”€โ”€ about_project.png

โš™๏ธ Installation

Prerequisites

  • Python 3.11 or higher
  • Windows, macOS, or Linux
  • pip package manager
  • Terminal or PowerShell access

Quick Start

1. Clone or download the repository

cd Ticket-Desk-Support-Intelligence-Platform

2. Create a virtual environment

python -m venv .venv

3. Activate the virtual environment

On Windows PowerShell:

.venv\Scripts\Activate.ps1

On macOS/Linux:

source .venv/bin/activate

4. Install dependencies

pip install -r requirements.txt

5. Train the machine learning models

python scripts/train_models.py

6. Run the Streamlit dashboard

streamlit run app/app.py

7. Open the app in your browser

Local URL: http://localhost:8501

๐Ÿ“Š Usage Guide

Dashboard Pages

Page Description
Dashboard Overview Displays KPIs, dataset size, model summary, and distributions
Ticket Triage Accepts a ticket description and returns category, priority, SLA, team, and reply draft
Model Performance Shows accuracy metrics and classification reports
Dataset Explorer Allows users to inspect records, columns, and label distributions
About Project Explains the business problem, ML workflow, stack, and expected impact

๐ŸŽซ Ticket Triage Workflow

  1. Open the Streamlit dashboard.
  2. Go to the Ticket Triage page.
  3. Enter a support ticket description.
  4. Click Analyze Ticket.
  5. Review the predicted category.
  6. Review the predicted priority.
  7. Check the SLA guidance.
  8. Check the suggested support team.
  9. Read the urgency explanation.
  10. Use or edit the generated first-response draft.

๐Ÿง  Machine Learning Workflow

Category Classification

The category model uses:

  • TF-IDF Vectorizer
  • LinearSVC classifier
  • Train/test split evaluation
  • Classification report output
  • Saved model artifact for dashboard inference

Priority Prediction

The priority model uses:

  • Logistic Regression
  • Dataset priority labels when available
  • Rule-based keyword priority generation when priority labels are unavailable
  • Saved model artifact for dashboard inference

๐Ÿ“ˆ Model Performance

The saved local training report shows strong internship-level NLP triage performance.

Metric Result
Category Accuracy Approximately 84.5% to 85%+
Priority Accuracy Approximately 96% to 97%
TF-IDF Features 10,000
Dataset Size Around 47,837 rows
Category Model LinearSVC
Priority Model Logistic Regression

These results make the project suitable as a realistic machine learning internship simulation rather than a production deployment claim.


๐Ÿ’ผ Business Impact

Faster Ticket Triage

  • Automatically classifies incoming support tickets.
  • Reduces manual review for first-line support teams.
  • Helps agents understand the issue type faster.

Better Priority Handling

  • Predicts urgency levels to support SLA-aware decisions.
  • Helps identify high-priority tickets earlier.
  • Improves consistency in ticket prioritization.

Smarter Team Routing

  • Recommends appropriate support teams based on the predicted issue.
  • Reduces misrouted tickets and repeated manual assignment.
  • Simulates real-world helpdesk assignment logic.

Improved Support Communication

  • Generates professional first-response drafts.
  • Helps support agents respond faster.
  • Maintains consistent communication tone.

Recruiter-Ready ML Project

  • Shows end-to-end machine learning implementation.
  • Combines NLP, classification, dashboarding, and business logic.
  • Demonstrates product thinking beyond basic model training.

๐Ÿš€ Advanced Features

Model Persistence

  • Category model saves to models/category_model.pkl
  • Priority model saves to models/priority_model.pkl
  • TF-IDF vectorizer saves to models/tfidf_vectorizer.pkl
  • Training report saves to models/model_report.json

Health Checker

The project includes a beginner-friendly main.py launcher and health checker to verify:

  • Required files
  • Dataset availability
  • Model artifacts
  • Project folder structure

Dataset Explorer

The dashboard includes dataset-level review features such as:

  • Sample ticket records
  • Dataset shape
  • Column information
  • Category distribution
  • Priority distribution

๐Ÿ”ฎ Future Roadmap

Phase 2: Model Explainability

  • Add feature importance for ticket predictions
  • Add LIME or SHAP-style explanations
  • Show top words influencing category and priority predictions

Phase 3: Workflow Automation

  • Add batch ticket upload
  • Add CSV export for analyzed tickets
  • Add support queue simulation
  • Add ticket assignment history

Phase 4: Advanced NLP

  • Experiment with transformer-based models such as BERT
  • Add semantic similarity for duplicate ticket detection
  • Add intent detection and sentiment analysis
  • Add multilingual ticket support

Phase 5: Enterprise Features

  • Role-based views for agents, managers, and admins
  • SLA breach alerts
  • Team workload analytics
  • Resolution-time prediction
  • Cloud deployment using Streamlit Community Cloud or another hosting platform

๐Ÿ“ˆ Performance & Benchmarks

Metric Value
Dataset Size Around 47,837 tickets
Category Accuracy ~84.5% to 85%+
Priority Accuracy ~96% to 97%
TF-IDF Features 10,000
Category Model LinearSVC
Priority Model Logistic Regression

๐Ÿ› Troubleshooting

Streamlit App Not Found

Issue:

Error: Invalid value: File does not exist: app/app.py

Solution:

Make sure you are inside the project root folder.

cd Ticket-Desk-Support-Intelligence-Platform
streamlit run app/app.py

Models Not Found

Issue:

category_model.pkl not found

Solution:

Train the models first.

python scripts/train_models.py

Virtual Environment Activation Error

Issue:

running scripts is disabled on this system

Solution for Windows PowerShell:

Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
.venv\Scripts\Activate.ps1

Missing Dependencies

Issue:

ModuleNotFoundError

Solution:

pip install -r requirements.txt

๐Ÿ“š Learning Resources


๐Ÿ“ง Support & Contributing

Questions?

Open an issue on GitHub or contact the project maintainer.

Want to Contribute?

  1. Fork the repository.
  2. Create a feature branch.
git checkout -b feature/your-feature
  1. Commit your changes.
git commit -m "Add your feature"
  1. Push to the branch.
git push origin feature/your-feature
  1. Open a Pull Request.

๐Ÿ‘จโ€๐Ÿ’ผ About the Author

A.J. Pardhiv

AI & Data Science Student Google Certified Data Analyst Full-Stack Developer Python & Machine Learning Enthusiast Interested in AI, Data Science, NLP, and intelligent automation systems

Connect With Me

GitHub: @itzPardhiv LinkedIn: A.J. Pardhiv


๐Ÿ“œ License

This project is licensed under the MIT License.


๐Ÿ™ Acknowledgments

  • Scikit-Learn โ€” Machine learning algorithms and TF-IDF vectorization
  • Streamlit โ€” Interactive dashboard framework
  • Pandas โ€” Data processing and analysis
  • Plotly โ€” Professional dashboard visualizations
  • Joblib โ€” Model serialization and loading
  • Future Interns โ€” Internship task inspiration and project structure

โญ Show Your Support

If you find this project useful, please consider:

  • โญ Starring this repository
  • ๐Ÿ”— Sharing it with your network
  • ๐Ÿ“ Suggesting improvements
  • ๐Ÿ’ฌ Giving feedback for future enhancements

Last Updated: May 2026 Version: 1.0.0 Status: Professional Internship Simulation โœ…

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages