A method where AI searches outside sources first, then writes an answer.
RAG is an open-book quiz for AI. It peeks at the notes before it answers.
You meet it when bots search company docs for answers. It cuts made-up answers, but it can still face-plant.
LLM
RAG gives the LLM outside sources before it writes the answer.
Embedding
Embedding helps RAG find text with a similar meaning.
Vector-db
Vector-db stores and finds the chunks RAG needs.
Hallucination
RAG lowers hallucination risk by giving the AI facts to use.