RAG (Retrieval-Augmented Generation) bir LLM'i bir retrieval sistemi ile birleştirerek — bir bilgi tabanından ilgili bilgileri getirerek ve bunu LLM'e bağlam olarak sağlayarak — doğru ve temelli yanıtlar üretir. Özel veriler üzerinde LLM uygulamaları oluşturmak için temel bir tekniktir.
RAG Ne Yapar
RAG → augment an LLM's generation with RETRIEVED relevant information:
1. RETRIEVE → search a knowledge base (your documents/data) for info relevant to the query
2. AUGMENT → add the retrieved info to the LLM's prompt as CONTEXT
3. GENERATE → the LLM answers using the provided context (grounded in your data)
→ gives the LLM relevant, up-to-date, specific knowledge it wasn't trained on
