Independent · Nonprofit · Open access
Deep Lex

AI Glossary

Retrieval-Augmented Generation (RAG)

LLMs enhanced with external document retrieval

Short definition

A method where LLMs dynamically retrieve external documents or facts to enhance response accuracy.

Definition

Definition

A method where LLMs dynamically retrieve external documents or facts to enhance response accuracy. Legal Q&A tools use RAG to fetch statutes and case law before generating tailored answers.