Blog / Basics

RAG glossary: the terms you will meet, in plain words

By the troveGEN team · Updated 11 November 2026 · 3 min read

Short answer

RAG, pronounced "rag" and sometimes written R-A-G or R A G, stands for retrieval-augmented generation: finding relevant passages in your documents and giving them to an AI model so its answer is grounded in real sources. This glossary defines the other terms you will meet around it.

With troveGEN

troveGEN covers the whole vocabulary as one API: ingestion, chunking, embeddings, hybrid search, reranking, filters, permissions and PII protection.

See what troveGEN provides ↓

RAG (R-A-G)

Retrieval-augmented generation. A search step finds the passages most relevant to a question, and a language model writes the answer from them. See "What is RAG?" for the full explanation.

Ingestion

Reading source documents, including scans and web pages, and turning them into clean text and structure ready for indexing.

Chunk (passage)

A piece of a document that is indexed and retrieved as one unit. Good chunks are small enough to match a question and complete enough to be understood alone.

Chunking strategy

The method used to split documents into chunks: fixed-size, recursive, structure-based or semantic. See "Chunking strategies".

Embedding

A list of numbers that represents the meaning of a piece of text, so texts with similar meaning are close together.

Vector database

A database built to store embeddings and quickly find the nearest ones to a query.

Keyword search and BM25

Search that rewards passages containing the question's words. BM25 is a long-established scoring formula that favours rarer words and adjusts for passage length.

Hybrid search

Running keyword and vector search together and merging the results, because each finds what the other misses.

Reciprocal rank fusion (RRF)

A way to merge result lists by position rather than raw score, so a passage ranked high in several lists rises.

Reranker

A model that reads the question and each candidate passage together and re-orders the candidates by how well they answer it. Applied to a short list because it is slower than the first search.

Top-k

The number of results returned by a search, for example the top 5 passages.

Metadata filter

A condition on stored attributes, such as date, department or document type, applied to restrict which passages can be returned.

Grounding and citation

Grounding means the answer is based on retrieved text. A citation points to the passage a claim came from so a reader can check it.

Hallucination

A confident statement by a model that is not supported by the evidence it was given. Reduced by grounding, citations, support checks and refusing when documents do not cover the question.

Context window

The amount of text a language model can read in one request. Retrieved passages must fit inside it with the question.

Prompt injection

Text in a document or question that tries to give the model instructions. Defended by screening content and treating retrieved text as data.

PII

Personally identifiable information: data that identifies a person, such as a name, account number or medical record number. Protected by redaction, masking or tokenization.

Tokenization (of sensitive data)

Replacing a sensitive value with a stable placeholder and keeping the real value in a separate, encrypted vault. Not the same as tokens in a language model.

Permission-aware retrieval

Search that only returns passages the person asking is allowed to see, enforced inside the query.

Provenance and source trust level

Metadata recording where a document came from and how far it is trusted, used to prefer verified sources over unverified ones.

Air-gapped

Running with no connection to the outside network. Every model and service the system needs must run locally.

GraphRAG

Adding a knowledge graph of entities and relationships to retrieval, to help with questions that connect facts across many documents.

Index drift

The index falling out of step with the source documents because files changed, were removed or were re-chunked. Prevented by re-ingesting changes and removing deleted documents completely.

Evaluation set

A list of real questions with the passages or answers that should be found, used to measure whether a change improved retrieval.

Key takeaways

  • RAG, R-A-G and R A G all mean retrieval-augmented generation.
  • Most RAG quality comes from ingestion, chunking and search, not the model.
  • Security terms (PII, provenance, permissions, injection) belong in the design from the start.

How troveGEN helps with RAG terminology

troveGEN covers ingestion, chunking, embedding, hybrid search, reranking, metadata filters, permissions and PII protection as one API, with optional cited answers and tools for building an evaluation set.

What troveGEN provides

  • Ingestion from files, websites and connectors
  • Automatic chunking and your choice of embedding model
  • Hybrid search, reranking, filters and permissions
  • PII tokenization before indexing
  • Evaluation tools to measure quality on your own questions

See the product Start free — 500 pages a month

Frequently asked questions

What does RAG stand for?

Retrieval-augmented generation.

Is it R-A-G or rag?

It is usually said as the word "rag". Both spellings, RAG and R-A-G, mean the same thing.

Where should I start?

Read "What is RAG?" and "What is a RAG pipeline?", then the guide for the stage you are working on.

How does troveGEN help with RAG terminology?

troveGEN covers the whole vocabulary as one API: ingestion, chunking, embeddings, hybrid search, reranking, filters, permissions and PII protection. It provides: Ingestion from files, websites and connectors; Automatic chunking and your choice of embedding model; Hybrid search, reranking, filters and permissions; PII tokenization before indexing; Evaluation tools to measure quality on your own questions.

Keep reading