Short answer. A useful company chatbot does not answer from memory: for each question, it finds in your documents the few passages that relate to it, removes those the person is not allowed to read, writes an answer from the remaining passages while quoting the document and the page, and says “I don't know” when nothing is written. The work is first in the documents. In this page's example, out of 1,150 files, 190 are duplicates or old versions; on 120 test questions, answers that are right with the right source go from 84 to 107 once the triage is done.
This page is for companies of one hundred to a few thousand people, industry, distribution, services, clinics, schools, in Algeria, and for diaspora founders who lead a team here. The definitions come from public sources: chatbot, retrieval-augmented generation, hallucination, large language model, vector database, semantic search, the BM25 ranking function, role-based access control, optical character recognition. The company, its documents, its questions and its results are a constructed example. The page does not cover the legal rules on personal data, and quotes no price.
One question, four passages, one answer with its sources
The figure follows a question, from the whole index to the four passages quoted in the answer.
The chatbot. It is software designed to converse through text or speech. The one this page is about relies on a large language model, a model trained on a vast amount of text, which is given your documents to read. Retrieval-augmented generation. It is the technique that lets a model retrieve and incorporate new information: it first refers to a specified set of documents, then answers. It helps reduce hallucinations, those false answers presented as fact, and allows sources to be cited. The limit. It does not remove them: the same source writes that it does not prevent hallucinations.
In the example. The index holds 7,200 passages. A question brings out 40, by words and by meaning; re-ranking keeps 8. Two are reserved for managers: they are removed before the model reads anything. The answer is written with 4 passages, and each sentence carries its source: document, page, update date. Two searches. Search by meaning finds “leave” when someone writes “absence”; search by words, the kind classic search engines use, finds an exact reference such as “RH-07”. Both are needed. Refusal. Under a relevance threshold, the assistant answers “I don't know” and forwards the question.
«The rights filter runs before the model: a passage the person cannot open never enters the answer.»
The work is in the documents
The figure sorts the 1,150 documents, then replays the same 120 questions before and after triage.
Triage. Before indexing, you count. In the example, out of 1,150 files: 190 duplicates and old versions, one in six, removed; 85 scans with no text, put through character recognition, which converts the image of a text into machine-readable text; 60 with no owner or date, assigned. That leaves 960 documents, 3,300 pages. Filing itself is another subject, see archiving documents. Why. An assistant answers with what it is given: an old version left in the index becomes a wrong answer, stated with confidence.
Measurement. 120 real questions, each with the expected answer and its source, written by the people in charge of each subject. With everything indexed: 84 answers right with the right source, 9 taken from an old version, 14 “I don't know” by mistake, 6 justified, 7 invented or wrong. After triage and tuning of the search: 107, 1, 4, 6 and 2. What remains. Two wrong answers out of 120: that is why the source is always displayed, and why the question set is replayed at every change, see measuring that an AI works. The six justified “I don't know” answers are the list of notes to write.
«An assistant answers with what it is given: an old version left in the index becomes a wrong answer, stated with confidence.»
A document enters the assistant, in six steps
The figure follows a document, from the shared folder to its update in the index.
Splitting. Documents are divided into shorter passages for indexing and retrieval. Splitting by headings and paragraphs, rather than at a fixed length, keeps a rule and its exception together; each passage keeps the document, the page and the date it comes from. The index. Passages are stored in a database that stores and retrieves numerical representations of text, known as a vector database; retrieval-augmented generation is an especially common use of it. Both languages. A question in Arabic must find a procedure written in French, and the reverse: this is checked in the question set, see an application in both languages.
Rights. Role-based access control restricts access to a system to authorised people. Here, each passage inherits the reading group of its document, taken from your folders, and the filter applies before the model: see roles, rights and audit log. In the example, five groups and 140 reserved documents. Updates. When a document changes, its old passages are removed and the new ones indexed, within the hour in the example; a document with no owner does not enter. Where it lives. In your intranet, next to the search box, see the company intranet.
What is inside the assistant
The figure stacks five layers; the third, the rights, is the one a consumer assistant does not have.
Why not a consumer assistant. Pasting your procedures into an online assistant raises two questions: where the documents go, and who can read what, see using ChatGPT at work. The company assistant applies your rights, cites its sources and keeps a log of the questions. Where the model runs. At a provider, with a contract on how the data is used, or on your servers when the documents must not leave, see a model on your own servers. The choice is made after triage: it depends on what your documents really contain.
What it does not do. It decides nothing and writes into no software: it answers. Having an AI act in your tools is another step, see where to start with an AI agent. Channels. The same index can answer in the intranet, on a workshop terminal or by messaging, see the AI agent on WhatsApp. The log. Each question, the passages used and the person's feedback are kept: it is the material for tuning, and the list of what your documents do not say.
Ten weeks, starting by counting the questions
Ten weeks in the example, two of them counting questions before a line of code is written.
Counting. For two weeks, three departments note every question they receive. In the example: 212 questions, 96 to human resources, 62 to IT, 54 to quality, that is 106 a week. At six minutes per answer, an assumption of the example, more than ten hours a week for those who answer, not counting the wait of those who ask. These questions become the test set. Triage. Document triage starts at the same time: it is the part that lasts.
Tuning. The first version answers in week six; the set of 120 questions is replayed at every tuning, and nothing is opened until invented answers are down to the level you set. The pilot. One department first. Every week, the unanswered questions are reread with the people in charge: either the document exists and the search needs fixing, or it is missing and someone writes it. Opening. To the other departments, one by one.
Five situations, and what the assistant changes
The figure takes five situations, with shared folders and then with the assistant.
- What you receive: the count of questions; document triage with an owner and a date per document; the index by words and by meaning; the rights filter before the model; answers with document, page and date; the “I don't know” and the forwarding; the question set replayed at every change; the log of unanswered questions.
- What the company avoids: the answer given from memory, the old version that circulates, the reserved note read by someone with no right to it, the invented answer stated with confidence, documents pasted into an online assistant, the project launched without knowing whether it answers right.
- What is measured: answers right with the right source on the question set; invented answers; “I don't know” by mistake and justified; questions per department and per week; user feedback; time between a document change and its update in the index.
- What Symloop does: the count and the question set with the people in charge, tool-assisted document triage, the index, the rights filter, answers with sources, refusal and forwarding, integration into your intranet, the choice of the model and of its hosting, in Arabic and French. The content of the documents remains yours.
The repeated question. The person gets the answer and its source without waiting; the department keeps its time for the cases that need judgement. The changed procedure. The old version leaves the index the day the new one enters: that is half the value of the project. The reserved note. The assistant does not “know” what the person is not allowed to read: the passage never reaches the model.
What the assistant does not replace. The people who know: it forwards to them what is written nowhere, and shows them which notes are missing. Off the shelf or custom. Ready-made assistants plug into a document space; they fit when your documents are already sorted, in a single tool, with simple rights. Custom work is justified when there are several sources, when rights follow your departments, when you need Arabic, French and darija, a question set of your own, and documents that stay on your side.
- What is a company chatbot?
- An assistant that answers employees' or customers' questions from the company's documents: it finds the useful passages, writes an answer and cites its sources.
- How do we set up a chatbot on our documents?
- In five steps: count the real questions, sort the documents, take over the access rights, index and answer with sources, then measure on a question set before opening to a pilot department.
- Can a chatbot invent an answer?
- Yes. Answering from your documents reduces that risk without removing it. Hence the source shown for each sentence, the “I don't know” under a threshold, and a question set replayed at every change.
- What is RAG?
- Retrieval-augmented generation: before answering, the model receives the passages of your documents that relate to the question, and writes from them.
- Does the chatbot respect access rights?
- It must: each passage inherits the reading group of its document, and the filter applies before the model. A passage the person cannot open does not enter the answer.
- Do our documents leave the company?
- It depends on where the model runs: at a provider, under contract, or on your servers. The choice is made after triage, according to what your documents contain.
- Does it answer in Arabic and French?
- Yes, provided it is checked: the question set contains questions in Arabic, French and darija, on documents written in either language.
- What happens when a document changes?
- Its old passages are removed from the index and the new ones added. Without that, the assistant keeps answering with the old version.
- Can we use a consumer assistant instead?
- For public documents, sometimes. For internal procedures, it lacks your access rights, control over where the documents go, and measurement on your questions.
- Where do we start?
- With two weeks counting the real questions, and with document triage: duplicates, old versions, scans, owner and date.