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.
- 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.
- 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.
- 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
- Technical documentation — datasheets, product catalogues, operating manuals. A rep or engineer gets a spec without a trip to the archive.
- Contracts and legal documents — checking against a reference template, finding a specific clause in a stream of incoming contracts.
- Internal policies and procedures — onboarding: a process question gets answered on the spot, without pulling a colleague away.
- Sales scripts and product knowledge bases — sales reps answer clients faster and more accurately, without switching to another window.
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.
- The base goes stale without re-indexing. Documents get updated, the index doesn't: the assistant starts confidently quoting an outdated datasheet or contract version. That's not an implementation bug — it's a property of the approach. Re-indexing has to be part of the process, not a one-time step at rollout.
- RAG doesn't replace structured search for exact figures. For a query like "show all contracts above X in value" or "pull the list of counterparties by region," you need a structured database with filters and aggregation, not search-by-meaning over text. RAG is good where the question is phrased in natural language and the answer is a fact from a document — not a filtered selection.
- Incomplete context is a real risk. A relevant fragment can miss the top results — because of how the question was phrased, how the document got chunked, or competition from similar fragments. When that happens, the model answers from an incomplete picture. Hybrid search and source citations reduce this risk, but no implementation we know of removes it entirely.
- The model can get it wrong. Like any LLM-based system, a RAG assistant isn't immune to a bad answer. A source citation on every answer isn't a decorative detail — it's how an employee checks the result in seconds instead of redoing the work from scratch.
How we've built this
- Machinery distributor: a RAG assistant inside Bitrix24 — 11,000 technical documents and 60 training videos, an assistant inside the Bitrix24 messenger, hybrid search for exact matches on machine model numbers.
- AI contract analysis: comparison against a reference template — extracting key fields from a contract, comparing it against a template clause by clause, flagging risky wording with an explanation.
- Counterparty due diligence by tax ID — an agent pulls data from registries, sanctions lists, and court records into one structured report with source links.
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.