Prompting glossary

Retrieval augmented generation (RAG)

Answering from a specific set of documents.

What it means

Retrieval augmented generation is a setup where the AI searches a chosen collection of documents first and answers from what it found. It is how internal assistants answer from company files rather than general knowledge.

Also called

rag

How to use this in practice

Knowing the word is the easy half. The useful half is writing the instruction so the AI does not have to guess: say who it should act as, give it the background it cannot know, state the outcome you want, set the limits, and name the format the answer should come back in. That is the same structure behind every template in the free prompt library.

Want prompts written for your business instead of definitions?