Skip to content
nexovia

AI and data

RAG assistants

A RAG assistant searches your own documents first, then writes its answer from the passages it found. Each answer points to its sources, and below a relevance threshold the assistant says it does not know and hands over to a person. It works on Hebrew and English content.

RAG assistants: an overview

Retrieval-augmented generation, RAG for short, splits the work in two. A search step finds the passages in your documents that relate to the question, and the language model writes an answer using only those passages. RAG assistant development is mostly about the first half: if search brings back the wrong paragraph, even a very capable model will write a confident wrong answer.

So we spend time on your documents before writing prompts. We look at how they are structured, where the same policy exists in two contradictory versions, which files are out of date and who is allowed to read what. Documents are split along their own headings, indexed with their source and date, and tagged with the permissions of the original, so an employee never gets an answer built from a file they cannot open.

Two behaviors are fixed from the first version. Each answer shows the passages it came from, with a link, so the reader can check. And when search finds nothing relevant enough, the assistant says it does not know and offers to pass the question to a person, instead of improvising.

What the service covers

  • Document audit and sources

    We review where your knowledge lives: wiki, shared drives, help center, PDFs, past tickets. Together we decide what goes in, what stays out and which version of a document is the official one.

  • Ingestion and chunking

    Documents are converted to text, split along their own headings and stored with source, date and access rules. Scanned files go through text recognition first.

  • Search and ranking

    We combine vector search with keyword search, which matters for product codes, names and Hebrew word forms, then rank the passages. The model only sees the top results.

  • Answers with citations

    Each answer links to the passages it used, so the reader can open the source. Below a relevance threshold the assistant declines and offers a handover.

  • Permissions and sync

    Search results are filtered by each user's rights before the model sees them. The index follows changes in your sources, deletions included.

  • Interface and handover

    The assistant can live in your product, your intranet, a help-center widget or a messaging tool, with a right-to-left layout for Hebrew. Handover passes the question and the conversation to a person in your support tool.

When it is the right call

  • 01

    Your support or operations team spends its day searching a wiki, shared drives and old tickets for answers that already exist.

  • 02

    New employees keep asking colleagues procedural questions that are already answered in an internal handbook.

  • 03

    A generic chatbot you tested gave fluent answers that were not in your documentation.

  • 04

    Your documentation is in Hebrew and English, and people ask questions in either language.

What you get

  • Vector search across your document base

  • Answers with citations you can verify

  • Handover to a person when the answer is not in the documents

  • Evaluation set built from real questions

How we work on it

  1. Step 1

    Map the documents

    We review your sources, their formats and their access rules, and agree on what the assistant should and should not read. Contradictory or outdated files are flagged for your team to resolve.

  2. Step 2

    Collect real questions

    Your team gives us questions people actually ask, with the document that holds each answer. We add questions that have no answer in the documents, to test that the assistant declines.

  3. Step 3

    Tune retrieval first

    We adjust chunking, search and ranking until the right passages come back for the evaluation questions. Only then do we work on the wording of the answers.

  4. Step 4

    Pilot with one team

    A small group of real users works with the assistant on a test URL. Their questions and ratings reveal gaps in the documents as well as in the assistant.

  5. Step 5

    Launch with feedback

    Users can mark an answer as wrong, and each case is reviewed and added to the evaluation set. Questions the assistant could not answer become a list of documents your team should write.

Measuring a RAG assistant on questions your team really asks

An evaluation set for a RAG assistant has two layers. The first checks retrieval: for each question, did search return the passage that holds the answer. The second checks the answer: is it supported by the passages, does it cite them, and does the assistant decline when the answer is not in the documents. Questions with no answer are included on purpose.

Hebrew questions are tested separately from English ones. Search and generation quality in Hebrew differs between models and between embedding methods, and a setup that works well in English can miss Hebrew passages written with a different spelling or with prefixes attached to the word.

Keeping document permissions and freshness in the assistant

An assistant that reads every document in the company would expose files to people who should not see them. We copy the access rules from the source system into the index and filter search results by the user's rights before the model sees anything. If HR files are restricted on your drive, they stay restricted in the assistant.

Documents change, so the index has to follow. We sync on a schedule or on change events, remove deleted files from the index, and show the document date next to each citation so readers can tell when a source is old.

When a RAG chatbot is the wrong tool

RAG answers questions whose answers are written down. It does poorly on questions that need counting across many records, such as how many orders shipped late last month: that is a database query, and an assistant can call one as a tool instead of searching text. It also cannot fix documentation that is missing or contradictory. If the same policy exists in three versions, the assistant will cite whichever one search finds.

Sometimes a better search box is enough. If your users know what they are looking for and only need to reach the right page, good search over your help center, with Hebrew-aware matching, is cheaper and more predictable than generated answers. When that covers the need, we suggest it first.

Technologies

  • Large language model APIs
  • RAG
  • Vector search
  • Python
  • Node.js
  • PostgreSQL

How you can work with us

  • Fixed-scope project

    The scope of the first version is written down, split into milestones and priced per milestone. It suits a product or a feature with a clear outline.

  • Dedicated team

    A team works on your product over the long run, with its own planning and release cadence. It suits a product that keeps changing.

  • Team extension

    One or more of our engineers join your team and work with your tools and routines. It suits a company that knows where it is going but lacks people or a specific skill.

  • Monthly support

    A monthly retainer covers maintenance, updates and small changes, with an agreed response time. It suits a product in production that needs upkeep more than new features.

Questions about RAG assistants

Can a RAG chatbot answer questions about our documents without making things up?

It can be built to stay close to them. It answers only from retrieved passages, cites them and declines when nothing relevant is found. No assistant is perfect, which is why the citations and the evaluation set matter. They make errors visible and measurable.

Which documents can the assistant read?

Most common formats: PDF, Word, web pages, wiki and help-center articles, tickets and spreadsheets, as long as there is text to extract. Scanned PDFs need a text recognition step first. We agree on the list of sources before indexing, so nothing confidential is added by accident.

Should we build a RAG assistant or use an off-the-shelf tool?

If your documents sit in one platform that offers a built-in assistant, and its answers pass your evaluation set, use it. Building makes sense when the sources are spread across systems, when permissions must follow each user, when Hebrew quality matters, or when the assistant has to live inside your own product. We can run an off-the-shelf tool against your evaluation set before you decide.

What drives the cost of a RAG assistant?

The number and variety of sources come first, since each format and each system to sync from adds work. Permissions add more when they must follow each user from the source system. The state of the documents matters too: resolving contradictions and processing scanned files takes time. Running costs depend on the volume of questions and the model chosen, and we measure them per question during the pilot.

Is our data used to train the model?

Not by us, and we choose providers and settings with that in mind. Your documents are stored in an index in your own environment, and only the passages needed for a given question are sent to the model. With a provider's API, we use terms under which your data is not used for training, and we tell you what those terms say about retention. If no data may leave your infrastructure, the model can be hosted in your environment instead.

Can users ask in Hebrew about documents written in English?

Yes, cross-language questions can work, and we test them explicitly. Search quality across languages depends on the embedding method, so the evaluation set includes Hebrew questions about English documents and the reverse. The answer is written in the language of the question, while the citation points to the original passage. Where results are weak, adding keyword search or translated titles to the index can help.

In the same service area

Design, build and ship your project

Describe it in three lines. We reply with specific questions and a first take on how to proceed.