From 73c1ab9352919f13a44d7546e7f97b005982dcc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=AD=D0=BC=D0=B8=D0=BB=D1=8C=20=D0=90=D0=BC=D0=B8=D1=80?= =?UTF-8?q?=D0=BE=D0=B2?= Date: Thu, 28 May 2026 16:48:23 +0000 Subject: [PATCH] add documents/rag_overview.txt --- documents/rag_overview.txt | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 documents/rag_overview.txt diff --git a/documents/rag_overview.txt b/documents/rag_overview.txt new file mode 100644 index 0000000..ea31874 --- /dev/null +++ b/documents/rag_overview.txt @@ -0,0 +1,32 @@ +# RAG (Retrieval-Augmented Generation) Overview + +## What is RAG? + +RAG combines retrieval of relevant information with text generation. It allows LLMs to access and reference external knowledge sources. + +## Components + +1. **Retriever** - Finds relevant documents from a knowledge base +2. **Generator** - LLM that generates answers using retrieved context +3. **Vector Store** - Stores document embeddings for similarity search + +## How it works + +1. User query is converted to embeddings +2. Similar documents are retrieved from vector store +3. Retrieved context is combined with query +4. LLM generates answer based on context + +## Benefits + +- Access to up-to-date information +- Reduced hallucinations +- Source attribution +- Cost-effective compared to fine-tuning + +## Common Use Cases + +- Question answering over documents +- Chat with your data +- Research assistance +- Knowledge management \ No newline at end of file