How jeron-xx/ai-itsm-helpdesk works
AI ITSM Helpdesk is a React/FastAPI prototype for employee support. The main flow is issue submission, knowledge retrieval and grounded response, ticket classification/escalation, then ticket persistence, audit logging, and mock ServiceNow incident creation. Separate support-console capabilities cover knowledge browsing, ticket dashboards, software provisioning, audit history, ServiceNow records, and password-reset automation. The README documents the RAG/model and provisioning stages; several modules were not sampled, so those internal links are shown only where the README or excerpts support them.
Main entry points: tickets.py Ticket Analysis API · App.jsx Portal Shell · main.py FastAPI Application · automation.py Password Reset Automation
Components 22
Employee Portal
- Portal Shell
frontend/src/App.jsx - Issue Submission
frontend/src/App.jsx - Ticket Analysis View
frontend/src/AIAnalysis.jsx - ITSM Dashboard
frontend/src/ITSMDashboard.jsx - Knowledge Browser
frontend/src/KnowledgeBase.jsx
Ticket Processing
- Ticket Analysis API
backend/routes/tickets.py - Ticket Classification
backend/routes/tickets.py - FastAPI Application
backend/main.py
Knowledge And AI
- RAG Retrieval
backend/services/rag_service.py - Knowledge Documents
knowledge - Grounded Response
backend/services/ai_service.py - Knowledge API
backend/routes/knowledge.py
Support Operations
- Software Requests UI
frontend/src/SoftwareRequests.jsx - Provisioning Workflow
backend/routes/software_requests.py - Password Reset UI
frontend/src/AIAnalysis.jsx - Password Reset Automation
backend/routes/automation.py - Audit Log View
frontend/src/AuditLogs.jsx - Audit Logging
backend/routes/audit_logs.py - ServiceNow View
frontend/src/ServiceNow.jsx - Mock ServiceNow
backend/routes/servicenow.py
Persistence
- MongoDB Collections
backend/database/mongodb.py
Other components
- Employee
Connections 34
- Employee → Portal Shell: uses
README.md - Portal Shell → Issue Submission: renders
frontend/src/App.jsx - Portal Shell → ITSM Dashboard: renders
frontend/src/App.jsx - Portal Shell → Knowledge Browser: renders
frontend/src/App.jsx - Portal Shell → Software Requests UI: renders
frontend/src/App.jsx - Portal Shell → Audit Log View: renders
frontend/src/App.jsx - Portal Shell → ServiceNow View: renders
frontend/src/App.jsx - Issue Submission → Ticket Analysis API: submits issue
frontend/src/App.jsx - Ticket Analysis API → RAG Retrieval: retrieves context
backend/routes/tickets.py - RAG Retrieval → Knowledge Documents: searches
README.md - Ticket Analysis API → Grounded Response: requests response
backend/routes/tickets.py - Ticket Analysis API → Ticket Classification: classifies
backend/routes/tickets.py - Ticket Analysis API → MongoDB Collections: stores ticket
backend/routes/tickets.py - Ticket Analysis API → Audit Logging: records action
backend/routes/tickets.py - Ticket Analysis API → Mock ServiceNow: creates incident
backend/routes/tickets.py - Ticket Analysis API → Ticket Analysis View: returns result
README.md - Knowledge Browser → Knowledge API: requests knowledge
- Software Requests UI → Provisioning Workflow: manages requests
frontend/src/SoftwareRequests.jsx - Provisioning Workflow → MongoDB Collections: persists workflow
README.md - Provisioning Workflow → Audit Logging: records actions
README.md - Ticket Analysis View → Password Reset UI: offers reset
frontend/src/AIAnalysis.jsx - Password Reset UI → Password Reset Automation: requests reset
frontend/src/AIAnalysis.jsx - Password Reset Automation → MongoDB Collections: updates records
backend/routes/automation.py - Password Reset Automation → Mock ServiceNow: updates incident
backend/routes/automation.py - Password Reset Automation → Audit Logging: records action
backend/routes/automation.py - Audit Log View → Audit Logging: fetches logs
- ServiceNow View → Mock ServiceNow: fetches records
frontend/src/ServiceNow.jsx - Mock ServiceNow → MongoDB Collections: reads records
backend/routes/servicenow.py - FastAPI Application → Ticket Analysis API: registers route
backend/main.py - FastAPI Application → Knowledge API: registers route
backend/main.py - FastAPI Application → Provisioning Workflow: registers route
backend/main.py - FastAPI Application → Audit Logging: registers route
backend/main.py - FastAPI Application → Mock ServiceNow: registers route
backend/main.py - FastAPI Application → Password Reset Automation: registers route
backend/main.py