Olzhas: a RAG knowledge assistant for Magnum employees

Olzhas is an AI assistant for employees of Magnum Cash & Carry, Kazakhstan’s largest retail chain. A cashier or a store director asks a work question in Telegram, in Russian or Kazakh, and gets an answer drawn from hundreds of Magnum’s training and policy documents.

Olzhas bot
  1. Hi! I’m Olzhas, Magnum’s AI support agent. I can help with work questions, instructions and company rules.

  2. Where can I see my payslip?

    • Searching the knowledge base
    • Found in a few documents, opening 2
    • Reading “HR questions” in full
  3. Your payslip is in the Magnum Life bot: Main menu → Personal account → Payslip.

    It lists every accrual, every deduction and the amount paid out.

    Source: HR questions.pdf
Rebuilt from real Olzhas answers and shortened. Russian messages are shown in English; the Kazakh exchange is left as it was typed.

Staff open it from Magnum’s employee bot with an «Ask Olzhas» button, and store employees use it in their daily work.

  • Finds the right document in 98% of regression checks built from Magnum’s own questions.
  • Works in Russian and Kazakh, including Kazakh mixed with Russian or typed without Kazakh letters.

Why staff ask a supervisor instead of the knowledge base

Magnum documents almost everything: training courses for every store role, safety instructions, HR rules, the dress code, how to run a stock count on a handheld scanner. That comes to hundreds of documents and over a thousand pages, many of them scans with the tables pasted in as images.

Nobody opens a training PDF in the middle of a shift. A cashier with a queue asks the senior cashier, who goes to the store director, and the same questions go round every day. Magnum’s training team had collected about a hundred of them, and that list became the first test set for Olzhas.

  • The answer is there, buried in one paragraph of one PDF out of hundreds.
  • People type the way they talk, with typos, abbreviations, and Kazakh and Russian in the same sentence.
  • An invented procedure is worse than no answer, because it ends up at the till.

What Magnum employees actually ask

  • The scanner says “item not in the sales range”. What do I do?
  • I made a mistake in the stock count. How do I delete it?
  • кадровый резервка калай кируге болады
  • What’s the difference between a write-off and a loss?
  • When am I allowed to drive the forklift?
  • If a cashier sells alcohol to a minor, is there a penalty?
  • КСО қалай қосуға болады?
  • Which vegetables can’t be stored together?
  • What can’t I wear to work?
  • The customer forgot their change. What do I do?
  • орысша түсінбеймін қазақша жауап бер
  • No barcode, what do I do?
  • I was told to contact DIT. What is DIT?
  • a customer is rude and shouting, what do i do
  • How do I see my sanitary book?
  • Бодисканер деген не?
  • How do I book my leave?
  • Ваканций бар ма
  • Why must I upload the photo on the day I’m hired?

How the AI knowledge assistant finds an answer

An employee opens Magnum’s staff bot, taps «Ask Olzhas» and types a question, or sends a voice note or a photo of the scanner screen. Olzhas works out what is being asked and in which language, searches every document, reads the relevant ones in full and replies in the language of the question. We explain why whole documents beat matched fragments in how RAG works beyond vector embeddings.

Two rules are built into the code. If the documents describe different processes, Olzhas asks which one you mean and offers buttons. If they don’t cover the question, it says so and suggests asking your manager.

Employee in Telegram

What does a goods-tagging controller do?

Olzhas

reads documents whole

  • Russian
  • store role

Knowledge base

  • Answers directly
  • Answers directly
  • Answers in part
  • Can’t answer dropped
  • Can’t answer dropped

Answer in Telegram

A goods-tagging controller works for the security service and puts anti-theft tags on the categories of goods that need them, so nothing leaves the store unpaid.

From three documents

A real question from a working session with Magnum, answer shortened. Document titles are internal, so they are hidden.

What company data the AI assistant works with

Magnum’s knowledge base is its own: training courses for each role, job and safety instructions, HR rules and company policies, many of them scanned, along with spreadsheets and training videos in Russian and Kazakh. Olzhas is also connected to Magnum’s 1C for HR and payroll and to its SQL data, and employees ask by text, by voice or with a photo of a screen.

When Magnum’s training team sends new or corrected documents, they go live once the eval set passes. We build the same kind of AI document assistant for other companies, on their own documents and systems.

  • Scanned PDFs Training courses and instructions, with tables and diagrams pasted in as images
  • Text documents HR rules, company policies and memos
  • Spreadsheets The abbreviations glossary and reference tables, such as the store list
  • Training videos In Russian and Kazakh; Olzhas links to the right one
  • Voice messages Employees can ask out loud, in Russian or Kazakh
  • Photos and screenshots A till or scanner screen sent along with the question
  • 1C Connected to Magnum’s 1C for HR and payroll
  • SQL data Connected to Magnum’s SQL database
Tiles show kinds of data, not document counts.

RAG evaluation: how we test the assistant’s answers

Every change to Olzhas is tested before release on 150+ real employee questions in Russian and Kazakh, with reference answers written by Magnum’s training team. Retrieval and answers are scored separately: did the agent open the right document, and does an LLM judge accept the answer against the reference. The right document is found in 98% of checks. We describe the method in why AI projects need evals.

  • Answer accepted by the judge
  • Right document found
An answer passes when the grading model scores it 0.7 or higher against the reference. The set got harder along the way, and the latest run used a stronger grading model.
StageAnswer accepted by the judgeRight document found
153.5%77.2%
272%88%
374.8%96.3%
477.3%96.4%
563.5%92.9%
683.1%98.1%
An answer passes when the grading model scores it 0.7 or higher against the reference. The set got harder along the way, and the latest run used a stronger grading model.

How Magnum employees use the AI assistant

Staff who ask Olzhas once usually ask again

3+
questions per employee on average
2+
questions on each day an employee uses it
70%
of rated answers marked helpful
3 in 4 asked more than one question
Questions asked per employee Each dot is an employee

Olzhas keeps getting better. New questions from the stores show what the knowledge base still needs, and every change ships only after it passes the test set.

FAQ

Start with the documents staff already rely on and turn them into text a model can search, scans and tables included. Connect an assistant to the messenger employees already use, and before launch build a test set of real employee questions with reference answers. That’s how we built Olzhas for Magnum: hundreds of documents, Telegram, Russian and Kazakh.

Yes. Olzhas replies in the language of the latest message, including Kazakh mixed with Russian and Kazakh typed without Kazakh letters. Magnum’s documents are in Russian, so a Kazakh question also gets a Russian copy for the search. A fifth of the test set is in Kazakh.

A first version on your own documents can be ready in days. Most of the time goes into testing: answers are checked against reference answers on real employee questions, and the assistant is tuned until the client is happy with the results. For Olzhas that took a few weeks. Timelines and pricing for your case are on the AI document assistant page.

Limit it to your documents and test it before every release. Olzhas answers only from documents it has opened and read, backs each finding with a verbatim quote and says so when the documents have no answer. A test set of 150+ questions catches hallucinations: an LLM judge compares each answer with a reference from Magnum’s training team, and retrieval is scored separately.

Olzhas doesn’t guess. It replies that the knowledge base has no answer and suggests asking a manager, with the same wording every time, in Russian or Kazakh. Those questions show Magnum which topics its documents don’t cover yet.

Yes. Scanned PDFs are converted to text with their tables intact, spreadsheets are read as tables, and a question like “how many branches are in Almaty” is answered by code that counts the rows, so the model never has to estimate. For Magnum, Olzhas also works with data from 1C (HR and payroll) and from SQL.

It’s a chatbot that answers from your company’s documents rather than from the model’s memory: retrieval finds the right text, and generation writes the answer from it. Olzhas goes further than classic RAG. Instead of a vector index of chunks, an agent searches the text, reads whole documents and checks each one before it answers. Our article on internal ChatGPT for company documents shows how to build one.

Have documents your staff never open?

We build assistants that answer from your own documents, in Russian and Kazakh, with a test set that shows whether the answers are right before your staff see them.

Brief (optional)