March 12, 2024, 3 p.m. | Iulia Feroli

DEV Community dev.to


How is RAG used?

What's up with the context ?

Does RAG work out-of-the-box?

What do you need to configure to make it work?




RAG = Retrieval Augmented Generation


RAG, or Retrieval Augmented Generation combines the concepts of:



  • Information Retrieval - searching for relevant documents within your database/index based on a query (question).

  • Augmenting - adding the extra information (context) to the query you are going to make.

  • Generative AI - a model (usually an LLM) takes in a query/request …

beginners box concepts context database documents elasticsearch index information llm query question rag retrieval retrieval augmented generation searching what is rag what's up work

AI Engineer Intern, Agents

@ Occam AI | US

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Lead Data Modeler

@ Sherwin-Williams | Cleveland, OH, United States