Home

Grounding, RAG, and Prompting

Author's Photo

What to Read

Grounding means connecting an AI answer to specific, verifiable sources. RAG is a common implementation pattern: retrieve relevant information, then generate using that context.

Exam shortcut: if the question says "official docs only", "company policy", "latest source", or "reduce hallucination", think grounding or RAG.

Without vs With Grounding

DimensionModel onlyModel plus RAG
Knowledge sourceTraining data and prompt context.Retrieved docs, databases, search systems, or enterprise sources.
FreshnessCan be stale.Can use current retrieved knowledge.
TrustHarder to verify.Can cite or trace source material.
Hallucination riskHigher when facts are missing.Lower when generation is constrained to retrieved context.

Prompting Patterns

Practical Use Cases

NeedLikely pattern
Answer questions over internal policy documents.RAG or NotebookLM-style grounding.
Make brand-consistent marketing copy.Role prompting plus few-shot examples.
Summarize long uploaded PDFs.NotebookLM or source-grounded assistant.
Debug a multi-step workflow.Prompt chaining with clear intermediate outputs.