AI Blog

AI Blog

by Michele Laurelli

RAG (Retrieval-Augmented Generation)

/ræɡ/
Technique
Definition

A technique that enhances LLM outputs by retrieving relevant information from external knowledge bases.

RAG combines retrieval systems with generative models. First retrieves relevant documents, then uses them as context for generation. Reduces hallucinations and enables knowledge updates without retraining.

Examples

1

Question answering with document retrieval

2

Customer support chatbots

3

Research assistants

Michele Laurelli - AI Research & Engineering