en
Language
  • en
  • de
  • fr
  • es
  • br
  • ru
  • jp
  • kr
AI translation
  • cs
  • hu
  • it
  • pl
  • nl
  • tr
  • ae
  • se
  • ua
  • id
  • vn
  • cn
  • th
  • ro
  • bg
  • dk
  • fi
  • no
  • gr
  • il
  • ee
  • eu

What are the algorithms used in RAG?

RAG employs several algorithms and techniques to enhance the performance of large language models (LLMs) by integrating external information retrieval capabilities. 

The key algorithms and components involved in RAG are dense vector representations, document retrieval algorithms, reciprocal rank fusion (RRF), prompt engineering techniques, and re-ranking algorithms.

The RAG process typically involves four main stages: indexing, retrieval, augmentation and generation.

Try Easy Redmine in 30 days free trial

Access all features, SSL protected, no credit card required.