All guides

What a RAG assistant is and how it works in business

How RAG assistants for document bases and Bitrix24/1C actually work — with real project examples and honest limitations.

TL;DR. A RAG assistant is a chatbot built on top of your own documents — datasheets, contracts, internal policies, sales scripts. Before it answers, it searches your document base for relevant fragments and feeds them into the request sent to the language model. So it answers from your documents, not from whatever the model happened to memorize during training. It can live in Bitrix24, 1C, or a standalone chat interface.

What RAG is and why it matters for business

RAG stands for retrieval-augmented generation — generating an answer with search backing it up. A language model on its own knows nothing about your company: it was trained on public text and has never seen your datasheets or contracts. RAG solves that without retraining the model — the right context gets inserted directly into the request instead.

The practical effect: an employee gets an answer from the internal knowledge base in seconds, instead of digging through folders or pulling a colleague away from their own work. In the machinery-distributor case, a sales rep finds the specs of a machine model right inside the Bitrix24 messenger, without leaving the conversation with the client. What used to take minutes of searching across 11,000 PDF, DOCX, and PPTX files now takes seconds.

How it actually works, mechanically

Three steps: indexing, retrieval, generation with context.

  1. Indexing. Documents — PDF, DOCX, PPTX, 1C or Bitrix24 pages — get split into chunks and converted into vector representations (embeddings), stored in a vector database. Tables get handled separately. Technical specs often live in tables with awkward, multi-level headers, and naive chunking breaks the link between a parameter and its value.
  2. Retrieval. When an employee asks a question, the system searches the base for the most relevant fragments. Here's the catch: purely semantic search handles exact identifiers — model numbers, part numbers — poorly. It finds something "similar," not an exact match. That's why production systems usually run hybrid search: semantic search plus BM25 (exact keyword matching), not one or the other alone.
  3. Generation with context. The retrieved fragments get inserted into the request to the language model, alongside the user's question. The model builds its answer from that context rather than from general knowledge picked up during training. A good answer cites its source — a specific document or clause — so it can be checked, not just trusted.

Where it applies

The common thread: the company already has a base of text documents, and people regularly need to pull a specific fact out of it.

Limitations

RAG is not a universal answer for every document-related task. Here's what's worth knowing upfront.

How we've built this

What it costs and how long it takes

A pilot RAG assistant for a specific task starts at 200,000 RUB, 1–2 months. That covers indexing your document base, setting up retrieval, and integrating into the interface your team already uses — Bitrix24, 1C, or a standalone chat. The exact estimate depends on the volume and structure of your documents, and gets worked out during the audit stage.