What does RAG mean?

In artificial intelligence & machine learning, RAG is short for retrieval-augmented generation: a method in which a system first searches a document collection for relevant passages and then gives them to an LLM to write the answer.

ræɡabbreviationCommon term

Artificial Intelligence & Machine Learning vocabulary · Prompts and Retrieval

In Turkish: bilgi getirmeyle desteklenmiş üretim, erişim destekli üretim

Also used in: Software Engineering

How it is used

Pronounced like the word 'rag'. Teams build RAG pipelines over company documents so that answers stay up to date and can cite sources without retraining the model. Quality depends heavily on retrieval: chunking, embeddings and ranking.

Example sentences

  1. With RAG, the chatbot can answer questions about policies we changed last week.

  2. Most wrong answers came from the retrieval step, not the LLM, so we fixed that part of the RAG pipeline first.

Common collocations

  • RAG pipeline
  • RAG system
  • build a RAG app
  • RAG evaluation

More terms: Prompts and Retrieval

Practise with graded reading

Reading at the right level is the fastest way to make new words stick. Pick free English books by level: