Glossary · Definition
RAG (retrieval-augmented generation)
In one sentence
A technique that finds relevant information in your documents and hands it to the AI model before it answers, so the reply is grounded in specific, citable data.
RAG stands for retrieval-augmented generation. Instead of relying only on what the model learned in training, the system first searches a collection of documents (manuals, contracts, emails) for the most relevant passages and adds them to the question.
To find those passages it usually relies on embeddings: numerical representations of the meaning of each text, which make it possible to search by meaning rather than by exact words.
Example: at a clinic, someone asks “what protocol do we follow if a patient arrives with a high fever?” The system finds the right section of the internal protocol, and the model answers based on it, citing the document.
RAG reduces hallucinations but does not eliminate them: if the search returns the wrong passage, the answer will be wrong too. The system should show where each piece of information came from.
At Orbian: Orbi works with what you open up to it (files, notes, memory) to answer questions about your own things. What it remembers about you is visible in the Memory app, where you can correct or delete it.
Explanatory definition prepared by the Orbian team. On legal topics it is for general guidance only and is not a substitute for professional advice.
At Orbian
Pages where you can see this concept in practice.
Want it with your own examples?
Ask Orbi. It explains it using your own cases, in your own words.
Meet OrbiRelated terms
- LLM (large language model)An AI model trained on huge amounts of text to predict the next word, able to write, summarise, translate and reason about text.
- Context windowThe maximum amount of text, measured in tokens, that a language model can take into account at once when generating a response.
- AI hallucinationAn answer from an AI model that sounds confident and plausible but is false or not supported by the data.
- AI agentA system that uses an AI model to decide on and carry out steps toward a goal, using tools (email, files, a browser) instead of only replying with text.

