Skip to content

AI systemsCustomer support

Support Copilot

Sort, read and answer customer messages, then route each one to the right desk with a deadline.

  • Text classification
  • Sentiment
  • Routing rules
  • Retrieval
  • Grounded drafting

The system

Training…

Training the classifier on 320 past messages…

  1. Stage 1Machine learning

    What do they want?

    Naive Bayes, trained here on 320 past messages

    In
    The message
    Out
    One of 7 intents, and how sure it is

    Working Training…

    WhyRun the inbox, then open a message.
  2. Stage 2Deep learning

    How do they feel?

    DistilBERT SST-2, a neural network (about 65 MB)

    In
    The message, without greeting or sign-off
    Out
    Upset, unhappy, neutral or positive

    Model not loaded The mood is not read yet; the rules that need it wait.

    Why—
  3. Stage 3Automation

    Who handles it, and by when?

    6 rules you can edit; deadlines in working hours

    In
    intent (1), mood (2), order value, tier, wait
    Out
    A desk, a priority and a reply-by time

    Not run yet Waiting for stage 1.

    Why—
  4. Stage 4Generative AI

    What do we say?

    MiniLM finds the policy passages; SmolLM2 writes from them

    In
    intent (1), mood (2), desk (3), the policy
    Out
    A draft reply, its sources and any flags

    Not run yet Until the writer loads: a template opening and sources found by key words.

    Why—

Inbox

40 unread

Newest first, as they arrived. Made-up customers and orders.

The message

Each message goes through four stages, and each stage hands its result to the next: the classifier's intent and the mood model's reading decide the route, and all three shape the draft.

Run the morning's inbox, then open any message to see what each stage decided and why.

Rules run from the top; the first one whose conditions all hold sends the message to a desk at a priority, and the priority sets the reply deadline. A rule that needs the mood waits until the mood model has read the message. Change anything and the inbox is routed again at once.

  1. Rule 1

    if
    then
  2. Rule 2

    if
    then
  3. Rule 3

    if
    and₹
    then
  4. Rule 4

    if
    then
  5. Rule 5

    ifhours
    then
  6. Rule 6

    if
    then
  7. Otherwise

Priorities: Urgent 2 working hours, High 4 working hours, Normal 1 working day, Low 2 working days. Working hours are 09:00 to 18:00, Monday to Friday, so a weekend message's clock starts on Monday morning.

Volta Gear, its customers, orders, messages and policy are made up for this demo. Everything runs in your browser; nothing you change or type is sent anywhere.

Things to try

  1. Run the morning's inbox, then load the mood model and watch the angry messages jump to Escalations.
  2. In the routing rules, make VIP customers urgent and see who moves up the queue.
  3. Load the writer and compare SmolLM2's reply with the template that quotes the policy.

Where I'd use it

  • Support inboxes
  • WhatsApp and email triage
  • Reply drafts
  • Escalations

Want this on your own data? Tell me about your project.