RAG stands for retrieval-augmented generation. It is a way for an AI app to look up useful information and give it to the AI before it writes an answer.

Imagine asking a helper a question about a folder of documents. The helper first finds the relevant pages, reads them, and then uses them to respond.

RAG can help an answer use specific information, but it does not guarantee that the right page was found or understood. Check important claims against the original material.