logoalt Hacker News

klm127yesterday at 2:22 PM1 replyview on HN

RAG stands for Retrieval Augmented Generation. The purpose is to search a corpus of text by meaning rather than exact match.

I had to look it up.


Replies

spunker540yesterday at 4:29 PM

That sounds more like semantic search and vector db.

RAG is simply fetching external data (retrieval) and adding it to LLM context (augmenting) prior to generating a final response.

Any time LLMs do a grep or a web search to answer the query, it’s RAG. Many people use vector db for their own RAG implementation bc of the semantic search benefits.

show 1 reply