Retrieval Augmented Generation
0:00 / 0:00
Remixed 0 times
Created by Shramik Masti with Mathify.dev
The animation illustrates how Retrieval-Augmented Generation (RAG) works by using cosine similarity to find and rank the most relevant document chunks for a specific question. It then shows these top-ranked chunks being inserted into a prompt, allowing a language model to generate a cited answer without needing to update its internal weights.