Skip to main content

Glossary

RAG

Retrieval-Augmented Generation — An architecture that improves an LLM's responses by retrieving relevant information from an external knowledge source, such as a document database, at query time and providing it as context to the model. It introduces its own security considerations, since retrieved content, including attacker-controlled documents, becomes part of the model's effective instructions.

← All 285 glossary terms