Versatile AI Risk Assessment

Glossary Systems and architecture

RAG (retrieval augmented generation)

The model pulls matching documents from your own knowledge base before answering.

As of: September 2026 · Glossary with 28 terms

What is RAG (retrieval augmented generation)?

With retrieval augmented generation the system searches its own knowledge base for matching passages before answering and hands them to the model as context. That way it answers from current in-house documents without retraining the model.

What matters for security is that retrieved content lands in the same context window as the instructions. A planted document in the knowledge base therefore acts like an instruction to the model. Permissions matter too: retrieval must mirror the access rights of the person asking, otherwise the knowledge base becomes a data leak.

Vector databasePrompt InjectionPermissions

Threats using this term (6)

Entries in the threat catalogue whose text uses the term. Every link leads to the full threat page.

More terms from the subject area Systems and architecture.

From the term into the substance

The link leads to the place on the website where the term becomes practical; the overview shows every term in the glossary by subject area.

Cite this term

For reports, policies or internal documents; the link leads directly to this term page.

“RAG (retrieval augmented generation)”. Versatile AI Risk Assessment, glossary of AI risk analysis, as of September 2026.
https://www.versatile-ai-risk-assessment.com/en/wissensbasis/glossary/rag/

← Back to the glossary