How jj1210-spec/telecom-support-resolution-assistant works
Resolve Desk is a telecom customer-support application: customers submit complaints, receive adaptive intake, and get cited troubleshooting guidance or an admin-owned ticket. Its FastAPI service saves tickets before analysis, then coordinates privacy-aware triage, retrieval, drafting, and routing; customers and admins follow ticket outcomes in a React interface. Admin capabilities also include Copilot, Deep Analysis, taxonomy discovery, drift review, and Incident Radar. PostgreSQL/SQLite is the system of record, with derived vector search and optional model, cache, and observability providers. Some subsystem links are documented in the README; unsampled implementation details are not inferred.
Main entry points: app.py FastAPI service · desk.py Support desk · retrieval.py Hybrid retrieval · Admin.jsx Admin console
Components 25
React interface
- React app
frontend/src/main.jsx - Session auth
frontend/src/hooks/useAuth.jsx - Ticket intake
frontend/src/pages/customer/NewTicket.jsx - Customer tickets
frontend/src/pages/customer/Tickets.jsx - Admin console
frontend/src/pages/admin/Admin.jsx - Ticket Copilot
frontend/src/pages/admin/AdminTicket.jsx - Deep Analysis
frontend/src/pages/admin/Console.jsx
API and tickets
- FastAPI service
src/telecom_assistant/api/app.py - Access control
src/telecom_assistant/api/security.py - Support desk
src/telecom_assistant/tickets/desk.py - Ticket lifecycle
src/telecom_assistant/tickets/lifecycle.py
Analysis and retrieval
- Triage and drafting
src/telecom_assistant/ai/resolver.py - Adaptive intake
src/telecom_assistant/ai/clarify.py - Hybrid retrieval
src/telecom_assistant/knowledge/retrieval.py - Taxonomy
src/telecom_assistant/knowledge/taxonomy.py - Search indexing
src/telecom_assistant/knowledge/indexer.py
Admin insights
- Discovery and drift
src/telecom_assistant/insights/discovery.py - Incident Radar
src/telecom_assistant/insights/incidents.py
State and providers
- System of record
src/telecom_assistant/db.py - Vector index
src/telecom_assistant/gateways/vectors.py - LLM providers
src/telecom_assistant/gateways/llm.py - Embedding services
src/telecom_assistant/gateways/embeddings.py - Cache gateway
src/telecom_assistant/gateways/kv.py
Other components
- Customer
- Admin
Connections 34
- Customer → React app: uses
README.md - Admin → React app: uses
README.md - React app → Session auth: provides session
frontend/src/main.jsx - Customer → Ticket intake: submits complaint
README.md - Customer → Customer tickets: reviews outcome
README.md - Admin → Admin console: reviews queue
README.md - Admin → Ticket Copilot: investigates ticket
README.md - Admin → Deep Analysis: analyzes complaint
README.md - Ticket intake → FastAPI service: sends requests
frontend/src/pages/customer/NewTicket.jsx - Customer tickets → FastAPI service: loads ticket data
frontend/src/pages/customer/Tickets.jsx - Admin console → FastAPI service: loads admin data
frontend/src/pages/admin/Admin.jsx - Ticket Copilot → FastAPI service: updates ticket
frontend/src/pages/admin/AdminTicket.jsx - FastAPI service → Access control: checks access
src/telecom_assistant/api/app.py - FastAPI service → Support desk: routes support
src/telecom_assistant/api/app.py - Support desk → Adaptive intake: requests clarification
src/telecom_assistant/tickets/desk.py - Support desk → Triage and drafting: resolves complaint
src/telecom_assistant/tickets/desk.py - Support desk → Hybrid retrieval: retrieves evidence
src/telecom_assistant/tickets/desk.py - Support desk → Ticket lifecycle: advances ticket
src/telecom_assistant/tickets/desk.py - Triage and drafting → LLM providers: requests generation
src/telecom_assistant/ai/resolver.py - Triage and drafting → Hybrid retrieval: grounds draft
src/telecom_assistant/ai/resolver.py - Adaptive intake → Hybrid retrieval: checks evidence
src/telecom_assistant/ai/clarify.py - Adaptive intake → Taxonomy: uses issue classes
src/telecom_assistant/ai/clarify.py - Hybrid retrieval → Embedding services: embeds query
src/telecom_assistant/knowledge/retrieval.py - Hybrid retrieval → Vector index: searches index
src/telecom_assistant/knowledge/retrieval.py - Search indexing → Embedding services: embeds documents
src/telecom_assistant/knowledge/indexer.py - Search indexing → Vector index: updates index
src/telecom_assistant/knowledge/indexer.py - Search indexing → System of record: loads source data
src/telecom_assistant/knowledge/indexer.py - FastAPI service → System of record: persists records
README.md - Discovery and drift → System of record: analyzes ticket data
src/telecom_assistant/insights/discovery.py - Discovery and drift → Taxonomy: proposes classes
src/telecom_assistant/insights/discovery.py - Admin console → Discovery and drift: reviews drift
README.md - Admin console → Incident Radar: reviews incidents
README.md - FastAPI service → Incident Radar: serves incident data
README.md - LLM providers → Cache gateway: tracks quotas
src/telecom_assistant/gateways/llm.py