RAG (Retrieval-Augmented Generation)

Appears in 6 tutorials

Retrieve relevant info → Augment the prompt with it → Generate the answer.

As used in AI Agents →

Retrieve relevant info → Augment the prompt with it → Generate the answer. The key memory pattern.

As used in Prompt Engineering →

Fetching relevant documents at question time and adding them to the prompt so the model answers from real text rather than memory.

As used in Retrieval-Augmented Generation (RAG) →

Fetching relevant documents at question time and adding them to the prompt so the model answers from real text.

As used in Vector Databases →

Retrieve relevant chunks, then have an LLM answer using them. The killer app; reduces hallucination, adds current/private knowledge with citations.

As used in Fine-Tuning & Model Customization →

Giving a model relevant information at inference time by retrieving it from a knowledge source and inserting it into the prompt. The tool for knowledge, vs fine-tuning for behavior. (M02)

As used in AI Production Engineering →

Searching your own documents for relevant text and pasting it into the prompt so the model can answer with private/current data. Like an open-book exam. (Mod 1)