How a795da/it_smarthelpdeskandappointmentsystem works
IT Support System is a university helpdesk with a bilingual chatbot, ticket triage, technician and admin panels, and appointment scheduling. The main path runs from a requester through the chatbot and local AI retrieval; unresolved issues are submitted to the .NET API for classification and ticket handling, then surfaced to staff for assignment and scheduling. The API also manages knowledge-base data, alerts, and retention. The README documents major capabilities, while sampled source confirms API-to-AI calls and repository persistence; frontend-to-API and several internal workflows are therefore shown only where documented or marked unverified.
Main entry points: Program.cs Minimal API · IDbConnectionFactory.cs SQLite connections · chat.js Chat interface · main.py AI service API
Components 22
User and staff experience
- Chat interface
ITSupportSystem/src/ITSupport.Api/wwwroot/chat.js - Ticket intake
ITSupportSystem/src/ITSupport.Api/wwwroot/info_enter.js - Technician panel
ITSupportSystem/src/ITSupport.Api/wwwroot/it_panel/it.js - Admin panel
ITSupportSystem/src/ITSupport.Api/wwwroot/admin_panel/admin.js - Calendar views
ITSupportSystem/src/ITSupport.Api/wwwroot/calendar.js - Language support
ITSupportSystem/src/ITSupport.Api/wwwroot/i18n.js
AI knowledge service
- AI service API
ITSupportSystem/src/AI_Service/main.py - Knowledge scraper
ITSupportSystem/src/AI_Service/scraper.py - Knowledge base
ITSupportSystem/src/ITSupport.Api/Repositories/KnowledgeBaseRepository.cs
Support operations
- Minimal API
ITSupportSystem/src/ITSupport.Api/Program.cs - Appointment scheduling
ITSupportSystem/src/ITSupport.Api/Repositories/AppointmentRepository.cs - Email alerts
ITSupportSystem/src/ITSupport.Api/Services/EmailService.cs - Live notifications
ITSupportSystem/src/ITSupport.Api/Hubs/NotificationHub.cs - Scraper alert watcher
ITSupportSystem/src/ITSupport.Api/Services/ScraperAlertWatcherService.cs
Persistence and compliance
- SQLite connections
ITSupportSystem/src/ITSupport.Api/Data/IDbConnectionFactory.cs - Ticket repository
ITSupportSystem/src/ITSupport.Api/Repositories/TicketRepository.cs - Incident repository
ITSupportSystem/src/ITSupport.Api/Repositories/IncidentRepository.cs - Data retention
ITSupportSystem/src/ITSupport.Api/Services/DataRetentionService.cs
Other components
- Requester
- SMTP service
- Local LLM
- SQLite database
Connections 24
- Requester → Chat interface: asks for help
- Chat interface → AI service API: streams chat
- Requester → Ticket intake: submits issue
- AI service API → Local LLM: generates answers
- Knowledge scraper → Knowledge base: updates articles
- Minimal API → AI service API: requests classification
ITSupportSystem/src/ITSupport.Api/Program.cs - Minimal API → Ticket repository: reads and writes
ITSupportSystem/src/ITSupport.Api/Program.cs - Minimal API → Appointment scheduling: handles bookings
ITSupportSystem/src/ITSupport.Api/Program.cs - Minimal API → Knowledge base: serves articles
ITSupportSystem/src/ITSupport.Api/Program.cs - Technician panel → Minimal API: manages support
- Admin panel → Minimal API: manages staff
- Calendar views → Appointment scheduling: views availability
- Minimal API → Email alerts: sends priority alerts
ITSupportSystem/src/ITSupport.Api/Program.cs - Email alerts → SMTP service: sends email
ITSupportSystem/src/ITSupport.Api/Services/EmailService.cs - Minimal API → Live notifications: pushes events
ITSupportSystem/src/ITSupport.Api/Program.cs - Scraper alert watcher → Email alerts: batches scraper alerts
ITSupportSystem/src/ITSupport.Api/Services/ScraperAlertWatcherService.cs - Data retention → Ticket repository: cleans old tickets
ITSupportSystem/src/ITSupport.Api/Services/DataRetentionService.cs - Data retention → Incident repository: cleans incident logs
ITSupportSystem/src/ITSupport.Api/Services/DataRetentionService.cs - Ticket repository → SQLite connections: opens connections
ITSupportSystem/src/ITSupport.Api/Repositories/TicketRepository.cs - Incident repository → SQLite connections: opens connections
ITSupportSystem/src/ITSupport.Api/Repositories/IncidentRepository.cs - Appointment scheduling → SQLite connections: opens connections
ITSupportSystem/src/ITSupport.Api/Repositories/AppointmentRepository.cs - Knowledge base → SQLite connections: opens connections
ITSupportSystem/src/ITSupport.Api/Repositories/KnowledgeBaseRepository.cs - SQLite connections → SQLite database: connects to
ITSupportSystem/src/ITSupport.Api/Data/IDbConnectionFactory.cs - Language support → Chat interface: localizes interface