How to teach AI to serve customers no worse than a human?

Evgeny Smirnov14 May 2025

Problem

A bank contact-center operator reads a question, checks the customer's data, recalls training, asks clarifying questions, answers and sometimes acts in the operator interface. Turnover is high, so many operators are newcomers. Large firms still have not automated this with LLMs; integrating all customer data is expected to cost billions of rubles and several years. The goal is human-level service.

Example from the article: in the author's scheme, a customer asks why the cashback has not arrived and gets the reply that it will arrive on 5 May.

Solution in brief

Mirror the operator's six steps around an LLM: reuse the customer data already shown in the operator interface, RAG over the knowledge base, an intent-classifier-driven clarifying-question module and a target-action classifier. Add a guardrail module on input and output, and a vector cache of question-answer pairs before the LLM to cut its calls; the cache can also replace an older chatbot.

Questions this case answers
  • How to automate answering of user questions with an LLM when the answer needs per-user data, a knowledge base and sometimes an action in an internal tool
  • How to cut LLM inference cost for an assistant where most incoming questions are repeats of a finite set
  • How to build an LLM assistant that answers customers like a contact-center operator?
  • How to ground support answers in a knowledge base so that the LLM choice matters less than retrieval?

Tools and methods

  • RAG pipeline — a light retriever finds fragments, the LLM answers from them
  • Intent classifier plus LLM — top intents go into the prompt to form clarifying questions
  • Target-action classifier — predicts the operator action after each message
  • Guardrail module — regular expressions plus a tf-idf or small convolutional classifier
  • Vector cache — nearest-question lookup returning a stored answer
  • Whisper — speech-to-text for voice
Continue reading — it's free

Google or a one-time email code. No password.