How we automated the processing of incoming customer requests

Dmitry Timokhin19 Aug 2026

Problem

A bank's support center gets calls, chats and emails on the same issue, merged into one request. Employees label it by the main question only and often pick a general level of a large multi-level category catalog. Secondary topics go unrecorded, and each new message forces a re-check of the label. VTB's ML CRM team had to build a service that labels requests on five attributes, handles topic changes inside one request, and returns an anonymized summary for analysts.

Example from the article: a single request can contain several unrelated questions, so the text is split into topic blocks and each block is classified separately.

Solution in brief

The service splits each request into topics, summarizes it with a 32B LLM and strips personal data with regular expressions. Then three chained classifiers on a fine-tuned embedding model predict product, question and question essence. Beam-search-style scoring picks a consistent chain; a confidence threshold sends doubtful cases to "unknown".

Questions this case answers
  • How to assign free-text, multi-topic conversations from several channels to a deterministic hierarchical catalog when classes are imbalanced and labels are noisy
  • How to detect topic changes inside a long text without ground-truth boundaries
  • How to route low-confidence predictions to an open \"unknown\" class so that new categories can emerge over time
  • How to turn calls, chats and emails into one customer request and label it against a multi-level category catalog automatically?

Tools and methods

  • NetworkX — chunk graph for topic-change detection
  • deepvk/USER-bge-m3 (BGE-M3) — Russian embedder, one head per level
  • Qwen2.5-32B-Instruct — cluster naming in the BERTopic-like prototype
  • 32B LLM via internal API — summaries, extra request type, synthetic requests, LLM judge
  • BERTopic, UMAP, HDBSCAN — first prototype
  • Natasha and regular expressions — anonymization
  • LLM-as-a-judge — tuning chunking without topic labels
  • Streamlit — demo UI
Continue reading — it's free

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