logoalt Hacker News

spunker540yesterday at 4:29 PM1 replyview on HN

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.


Replies

0x457yesterday at 5:12 PM

Because people writing about RAG never explained what RAG is and exclusively wrote about embeddings and vector dbs, for most people RAG became "embeddings + vector db".

People don't understand that any sort of retrieval before generation is RAG.