What Is RAG? Retrieval-Augmented Generation Explained Simply
RAG retrieves relevant documents and adds them to the prompt so the model answers from sources. See how it works and how to prompt for grounded, cited answers.
Category
Few-shot examples, chain-of-thought, system prompts and grounding, with prompts you can copy.
RAG retrieves relevant documents and adds them to the prompt so the model answers from sources. See how it works and how to prompt for grounded, cited answers.
A system prompt sets an AI assistant's role, rules and format for a whole conversation. Learn what belongs in it, how to order it, and see a full example.
Chain-of-thought prompting asks a model to reason step by step before answering. See when it helps, when reasoning models make it redundant, and how to use it.
Zero-shot prompts give only instructions; few-shot prompts add examples. Learn when examples improve output, and when they cause copying, bias and drift.
Short quizzes on real prompting decisions, with an explanation for every answer. Free to start on iPhone and Android.