Contents (9)
A new employee looks for the returns procedure, a salesperson for a product spec, a manager for a clause in last year's contract. The knowledge exists, but it is scattered across folders, email and shared drives. Asking a general chat assistant does not help either: it does not know your documents and, when it does not know, it may confidently make something up. RAG is the method used to solve both problems at once.
#What is RAG?
RAG stands for Retrieval-Augmented Generation. When the assistant receives a question, it first finds the relevant passages among your documents, then gives only those passages to the language model to write the answer. Below the answer it shows which document and section each statement came from, so the user can open and read the source.
The key point: the model does not “memorise” your knowledge. Documents sit in a separate index and are searched for every question. When a procedure changes, the index is updated and the next answer uses the new text; no retraining is needed.
#How it works in 4 steps
- Documents are prepared. PDFs, Word and Excel files, wiki pages or help-centre articles are read and split into meaningful passages by heading and section. Each passage carries its document name, date and access permissions.
- An index is built. Passages are indexed for both keyword and meaning-based search, so the right passage is found even when the user does not use the document's exact words.
- A question triggers a search. The most relevant passages are found among the documents the user is allowed to see. If none is relevant enough, the assistant does not answer and says so.
- The answer is written with sources. The language model writes a short answer based only on the passages found and cites where each piece of information came from.
#RAG vs fine-tuning vs a general chat assistant
| General chat assistant | Fine-tuning | RAG | |
|---|---|---|---|
| Knows your company information? | No | As far as it was trained, without sources | Yes, searches your documents every time |
| When information changes | — | Retraining needed | Index updated, reflected immediately |
| Shows sources? | No | No | Yes, document and section |
| Access control | None | Hard | Searches only what the user may see |
| Best for | General writing and ideas | Teaching a style or format | Q&A grounded in company knowledge |
#Where it pays off
- Internal knowledge assistant: procedures, quality documents, HR policies, product catalogues and technical specifications.
- Sales and quotes: product features, price-list notes, standard clauses from past quotes.
- Customer service: sourced answers from the help centre and FAQs, for agents or directly for customers.
- Contracts and paperwork: answering “what were the payment terms with this supplier?” by showing the clause.
- Field and service teams: quick phone access to error codes, installation guides and maintenance instructions.
#What a good RAG set-up needs
- Correct, current documents: the assistant is only as good as its documents. If three versions of the same procedure are indexed, answers get mixed. Valid documents are chosen and old versions removed before set-up.
- Permission-aware search: sales should not see accounting files, and not everyone should see HR records. Search follows the user's existing access rights.
- Saying “I don't know”: when no source is found, the assistant does not guess; it says who knows or which team to ask.
- Measurement: a test set is built from real questions; the rate of finding the right source and answer accuracy are measured with it and re-checked after every change.
- Feedback: users can flag wrong or incomplete answers; flags are used to fill document gaps and tune search.
#Data security
Documents are indexed on your server or one we manage. Only a few passages relevant to the question are sent to the language model; documents containing personal data are either excluded or masked. Which service processes the data, in which country and for how long is written down; where appropriate, a set-up with an on-premise model can be chosen.
#What drives the cost?
Set-up cost depends on document types and volume, the sources to connect (shared drives, email, wiki, help centre), the permission structure and the interface (web, Teams, WhatsApp). Our knowledge assistant set-up starts from 19,900 TRY, with optional monthly monitoring and maintenance from 2,990 TRY/month (excl. VAT); model usage is billed separately by number of questions. The final price is written in the scope document.
#Where to start
- List the 30–50 most frequent questions and which document holds each answer.
- Collect the current versions of those documents in one place.
- Run a pilot with one team and one document group; measure it with the test set.
- If the results are good, expand document groups and users step by step.
At Averis Soft we set up the internal AI knowledge assistant as a pilot with one team and one document group, and we do not allow answers without sources. For where AI fits in business processes in general, see what is AI automation.
Let's talk about your project
Tell us briefly what you need and we'll get back to you the same day.
The discovery call is free. Same-day reply on weekdays 09:00–18:00 (GMT+3), otherwise within 24 hours. · See the service
Frequently asked questions
What is RAG?
Retrieval-Augmented Generation: the language model searches company documents before answering and answers only from the passages it found, showing the source.
Do we need to train a model for RAG?
No. Ready-made language models are used; company knowledge is not taught to the model but kept in a separate index and searched for every question. When a document changes, the index is updated.
What if the assistant answers wrongly?
Every answer shows its source, so users can verify it. When no source is found, the assistant does not answer. Answers flagged as wrong are reviewed to fix documents and search settings.
Which document types can be used?
Any text-based content: PDF, Word, Excel, presentations, wiki and help-centre pages, email archives. Scanned documents are converted to text first.
Does our data leave the company?
Documents are indexed on your server or one we manage; only short passages relevant to the question go to the model. Personal data is masked or excluded; where appropriate, the model can also run on-premise.