ClosedLoop
Turns support tickets into reviewed knowledge-base drafts and cited answers.
Problem
Support tickets contain useful answers, but turning them into a reliable knowledge base takes repeated review.
What I built
I built a seven-queue pipeline for ticket embedding, clustering, drafting, verification, publishing, RAG deflection, and gap detection. Socket.IO streams updates to the interface.
Results
- 46 integration tests reported passing.
- 0 SSN/card violations in a 784-record audit.
- 20% holdout set in the draft-and-verify workflow.
These figures describe the project’s reported tests and audit, not a guarantee for every input.
Stack
- React
- Node.js
- Express
- MongoDB Atlas
- Redis
- BullMQ
- Socket.IO
- OpenAI API
Implementation notes
Draft verification uses three temperature-zero judgments and up to two revision rounds before publication. The support widget returns cited answers, filters PII, and creates tickets when needed.