A DIY RAG assistant for a support team

Vladimir Drobot1 Dec 2025

Problem

The second-line support team of an advertising-technology cluster at MTS Web Services is judged by how fast and how well it resolves incidents within the SLA. That depends on finding the right instruction, but the Confluence and Jira library is incomplete and its structure grew without a plan. Even a good instruction is hard to find, because one problem appears under many names and, in a distributed system, far from the faulty service.

Example from the article: the same problem appears as "increased processing time", "increased delivery delays", "increased latency" or "growing message queue".

Solution in brief

The team built an internal RAG assistant that indexes Confluence and Jira into a vector database and refreshes it every 30 minutes. The closest chunks to a query go to an LLM, and the answer comes with sources and relevance. Expert query/answer pairs check quality, a synonym dictionary fixes search misses, and LLM query rewriting and reranking stay off by default.

Questions this case answers
  • How to make a team's internal documentation searchable by meaning when the library is incomplete, inconsistently structured and users phrase the same symptom many ways
  • How to keep a retrieval index in sync with frequently edited source systems at low cost
  • How to monitor retrieval quality for an internal assistant when no reliable quality threshold is known
  • How to help a second-line support team find the right instruction in a messy Confluence and Jira library

Tools and methods

  • RAG with vector search — answers grounded in team documents, with source links
  • Chunking with overlap — 2,000-3,000 characters, overlap 150-200
  • Synonym and abbreviation dictionary — query enrichment for slang and transliteration
  • LLM query rewriting and reranking — optional settings, off by default
  • Expert test cases — reference queries and answers for manual and automatic checks
  • OpenAI-compatible API of MWS GPT — embeddings and LLMs inside the company network
Continue reading — it's free

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