Back to search

RAG basics

RAG retrieves relevant external context and supplies it to the model at generation time.

Artificial Intelligence Medium Theory

RAG basics

RAG retrieves relevant external context and supplies it to the model at generation time.

  • Retrieval before generation
  • Improves freshness and grounding
  • Quality depends on chunking and retrieval

RAG basics