Problem
Support teams want a model that drafts replies for operators from the knowledge base, but a basic RAG setup (embed the base, find the closest chunks, prompt an LLM) breaks at each step. Retrieval depends on noisy logs, the base is messy and changes often, key facts sit in ticket metadata, and nobody can label every relevant chunk. An untuned generator gives many half-useful answers and cannot refuse politely when the chunks lack the answer.
Example from the article: Yandex built Yandex Neurosupport for its own services (the models are tuned on instructions from 50+ Yandex services) and measured it on a basket of dialogues from 12 of them.
Solution in brief
Combine a tuned two-stage retriever (embedder, then reranker) with a generator tuned by SFT and synthetic DPO, including examples of polite refusal. Measure with human side-by-side ratings plus a three-prompt reasoning-model judge, and put as much effort into parsing, chunking and refreshing the knowledge base as into the models.
Questions this case answers
- How to train a retrieve-then-generate assistant for a domain where the available labels are noisy logs of human behavior rather than clean ground truth
- How to measure the quality of a generated answer when listing all relevant source documents per query is infeasible
- How to turn heterogeneous, frequently edited document collections into a searchable index that stays current
- How to build a RAG copilot for support operators that drafts accurate replies and politely declines when the knowledge base has no answer?
Tools and methods
- Embedder and cross-encoder reranker — retrieve candidates, then rescore them
- SFT then synthetic DPO — tune the generator on editor answers and reward-ranked candidates
- CatBoost reranker — per-service ranking on embedding features
- Side-by-side human rating and reasoning-model judge — measure suggestion quality
- OCR, vision-language model and semantic titles — parse and index messy documents
Google or a one-time email code. No password.
