$ ./guess_the_languageAI & ML
AI & ML · medium · #45

What does retrieval-augmented generation (RAG) add to an LLM call?

  1. Retrieved documents in the prompt
  2. Extra layers trained on the fly
  3. A larger tokenizer vocabulary
  4. A second model that votes on output
RAG searches a knowledge source and inserts relevant passages into the context to ground the answer.
Play AI & ML ▸