RAG (Retrieval-Augmented Generation) ஒரு LLM ஐ retrieval system உடன் இணைக்கிறது — ஒரு knowledge base இலிருந்து பொருத்தமான தகவலைப் பெறுவது மற்றும் அதை LLM க்கு context ஆக வழங்கி துல்லியமான, grounded answers ஐ உருவாக்க உதவுகிறது. இது custom data உ மீதான LLM applications கட்டமாக்கும் முக்கியமான நுட்பமாகும்.
RAG செய்பவை
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
