Written by Jakub Rusinowski · Last updated July 10, 2026
Retrieval Augmented Generation (RAG) allows an LLM to answer questions based on your own private data (PDFs, Notes, Emails).
Retrieval Augmented Generation (RAG) allows an LLM to answer questions based on your own private data (PDFs, Notes, Emails).
1. Ingestion: Your text documents are chopped into small chunks. 2. Embedding: Each chunk is converted into a vector (a list of numbers) representing its meaning. 3. Retrieval: When you ask a question, the system finds the most similar chunks. 4. Generation: The chunks are sent to the LLM along with your question.