RAG: How an LLM Answers From Documents It Never Saw
Retrieval-augmented generation (RAG) fixes the knowledge cutoff, lack of private data access, and hallucination problems of large language models by using an embedding model to retrieve relevant documents and feed them i…