Live Site: https://misogihelpdeskai.netlify.app
HelpHub AI is a modern, AI-powered internal helpdesk portal that streamlines ticket management and support processes. Built with React, Node.js, and MongoDB, it leverages advanced AI capabilities to provide intelligent ticket routing, automated responses, and predictive analytics.
- Smart Ticket Classification: Automatically categorizes tickets using a Logistic Regression model trained on ticket data
- Time Traveler Preview: Predicts ticket resolution time and involved departments
- Response Suggestions: AI-generated response templates based on ticket context
- Voice Ticket Creation: Convert speech to structured tickets using Google's Gemini AI
- AI Summary Generator: Automatically generates concise summaries of tickets and their history
- Mood Analysis: Detects user sentiment and emotional tone in tickets
- Multi-Language Summaries:
- Generate summaries in 20+ languages
- Powered by Hugging Face's Helsinki-NLP models
- Support for global and Indian regional languages
- Real-time translation with high accuracy
- Technical terminology support
-
Public Assistant:
- Available on landing page for immediate support
- Handles general queries and FAQs
- Provides system information
- Offers pre-login guidance
- Basic troubleshooting support
-
Authenticated Assistant:
- Personalized support with user context
- Access to user's ticket history
- Department-specific guidance
- Real-time ticket updates
- Enhanced response capabilities
- Employee Portal: Submit and track tickets
- IT Support: Handle technical issues
- HR Support: Manage personnel-related queries
- Admin Dashboard: Oversee system operations
- Super Admin: Full system control
- Ticket Analytics: Comprehensive dashboard with insights
- File Attachments: Support for multiple file types
- Status Tracking: Detailed ticket history and updates
- Email Notifications: Automated status updates
- Smart Summaries: AI-generated executive summaries for quick overview
- Emotional Intelligence: Mood tracking and sentiment analysis for better support
- Face Verification System:
- Secure password reset using face recognition
- Face image capture during user creation
- Advanced face detection and recognition
- Multiple face detection with best face selection
- Configurable verification thresholds
- Framework: React with TypeScript
- UI Components: Shadcn UI
- State Management: React Query
- Routing: React Router
- Styling: Tailwind CSS
- Animations: Framer Motion
- Runtime: Node.js with Express
- Database: MongoDB with Mongoose
- Authentication: JWT
- File Storage: Cloudinary
- Email Service: Resend
- OpenAI: GPT models for ticket classification and response generation
- Google Gemini: Voice processing and chat assistance
- Hugging Face: (Planned) Sentiment analysis and multilingual support
- Node.js (v18 or higher)
- MongoDB
- npm or yarn
- API keys for:
- OpenAI
- Google Gemini
- Cloudinary
- Resend
- Clone the repository:
git clone https://github.com/rasheed8123/helpHubAi.git
cd helphub-ai
- Install frontend dependencies:
npm install
- Install backend dependencies:
cd server
npm install
- Set up environment variables:
# Frontend (.env)
VITE_API_BASE_URL=http://localhost:5000
VITE_OPENAI_API_KEY=your_openai_key
VITE_GEMINI_API_KEY=your_gemini_key
# Backend (.env)
PORT=5000
MONGODB_URI=mongodb://localhost:27017/helphub
JWT_SECRET=your_jwt_secret
OPENAI_API_KEY=your_openai_key
GEMINI_API_KEY=your_gemini_key
CLOUDINARY_CLOUD_NAME=your_cloud_name
CLOUDINARY_API_KEY=your_cloudinary_key
CLOUDINARY_API_SECRET=your_cloudinary_secret
RESEND_API_KEY=your_resend_key
- Start the development servers:
# Terminal 1 - Frontend
npm run dev
# Terminal 2 - Backend
cd server
npm run dev
- User submits ticket (text or voice)
- AI classifies ticket category
- System assigns priority based on content
- Ticket is routed to appropriate department
- Time Traveler preview shows estimated resolution time
- Support staff receives notification
- AI suggests response templates
- Staff can add internal notes
- Status updates trigger notifications
- Resolution is tracked and documented
- Real-time dashboard updates
- Department performance metrics
- Resolution time tracking
- User satisfaction monitoring
- AI-driven insights
- JWT-based authentication
- Role-based access control
- Rate limiting
- Input validation
- Secure file handling
- Data encryption
- Category prediction
- Priority assessment
- Department routing
- Duplicate detection
- Mood analysis (angry, frustrated, urgent, satisfied, neutral)
- Context-aware suggestions
- Tone adaptation
- Multi-language support
- Sentiment analysis
- Emotional intelligence in responses
- Speech-to-text conversion
- Intent recognition
- Structured ticket creation
- Natural language understanding
- Executive summaries of tickets
- Historical context summarization
- Key points extraction
- Action item highlighting
- Resolution tracking
- Multi-language Support:
- Generate summaries in multiple languages
- Language selection interface
- Download summaries in PDF format
- Support for 50+ languages
- Real-time translation using Hugging Face models
-
Public Assistant:
- General support queries
- System information
- Pre-login guidance
- Basic troubleshooting
- FAQ responses
-
Authenticated Assistant:
- Personalized support
- Ticket history access
- Context-aware responses
- Department-specific guidance
- Real-time ticket updates
-
Hugging Face Integration
- Sentiment analysis
- Multilingual support
- Topic classification
- Text summarization
-
Advanced Analytics
- Predictive maintenance
- Trend analysis
- Performance optimization
- Resource allocation
-
Mobile Application
- Native mobile app
- Push notifications
- Offline support
- Camera integration
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Your Name - Initial work
- OpenAI for GPT models
- Google for Gemini AI
- Shadcn UI for components
- MongoDB for database
- Cloudinary for file storage
HelpHub AI provides comprehensive multi-language support for ticket summaries and communications. The system uses Hugging Face's state-of-the-art translation models to ensure accurate and natural translations.
The system supports 20 languages, including major global languages and Indian regional languages:
- English (default)
- Spanish
- French
- German
- Italian
- Portuguese
- Russian
- Chinese
- Japanese
- Korean
- Arabic
- Hindi
- Bengali
- Tamil
- Telugu
- Marathi
- Gujarati
- Kannada
- Malayalam
- Punjabi
The translation service is powered by Hugging Face's Helsinki-NLP models, specifically:
Helsinki-NLP/opus-mt-en-*
series for English to other languages- Each model is specifically trained for its language pair
- High-quality neural machine translation
- Support for technical and domain-specific terminology
To use the translation feature:
- Set up your Hugging Face API key in the
.env
file:
HUGGINGFACE_API_KEY=your_api_key_here
-
The translation service is automatically integrated with:
- Ticket summaries
- Communication templates
- User interface elements
-
API Endpoints:
GET /api/translation/languages
- Get list of supported languagesPOST /api/translation/translate
- Translate text to target language
// Get supported languages
const response = await fetch('/api/translation/languages');
const languages = await response.json();
// Translate text
const translation = await fetch('/api/translation/translate', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
text: 'Your text to translate',
targetLanguage: 'es' // Language code
})
});
The portal includes a secure face verification system for password resets and user authentication:
- Face Detection: Uses face-api.js with Tiny Face Detector model
- Face Recognition: Implements face-api.js Face Recognition model
- Face Landmarks: Utilizes 68-point facial landmark detection
- Model Files Required:
tiny_face_detector_model-weights_manifest.json
tiny_face_detector_model-shard1
face_landmark_68_model-weights_manifest.json
face_landmark_68_model-shard1
face_recognition_model-weights_manifest.json
face_recognition_model-shard1
face_recognition_model-shard2
- Install Dependencies:
# Install required packages
npm install face-api.js canvas
- Download Models:
# Run the model download script
cd server
node scripts/downloadModels.js
- Environment Configuration:
Add the following to your
.env
file:
# Face Verification Settings
FACE_VERIFICATION_THRESHOLD=0.6 # Lower value = stricter matching
FACE_DETECTION_SCORE_THRESHOLD=0.3 # Minimum confidence for face detection
- Directory Structure: Ensure the following directories exist:
server/
βββ models/ # Face detection models
βββ uploads/
β βββ faces/ # User face images
βββ scripts/
βββ downloadModels.js