Retrieval-Augmented Generation
Retrieves relevant documents first, then conditions generation on them to reduce hallucination.
Method
Retrieve relevant documents with lexical search (for example BM25), vector search or a hybrid; condition generation on retrieved evidence.
Applications
Enterprise search, legal/medical assistants, customer support.
Advantages
Combines fresh, private knowledge with LLM fluency without retraining.
Limitations
Retrieval does not guarantee truth. Missing or malicious sources, poor retrieval and unsupported generation still require citations, evaluation and access controls.
Editorial clarification
Corrected or qualified against standard references; bundled concepts are distinguished.
Sources
Educational reference only, not professional advice.
All algorithms