Building & Product

What is RAG in AI?

RAG (retrieval-augmented generation) means the AI first looks up passages from a set of documents you choose and then answers from them, instead of relying only on its training. The term comes from a 2020 paper by Patrick Lewis and others. A RAG pipeline splits your documents into chunks, stores them in a search index (often a vector store), finds the chunks closest to each question and hands them to the model with the question. For a founder, it is how a support bot or internal assistant answers from your current policies and can cite them. Retrieval is where it fails: Anthropic found that adding context to each chunk cut failed retrievals by 49%, and by 67% with reranking.

Part of AI agents on eChai Explore.

On the AI map, 29 October 2026 Frontier models Open-weight models Decision models

Go deeper

6 resources.

Terms in this answer

More in AI in Your Product

Also in Starting Up

The same ground, over in Build the product, our Starting Up track.

eChai Partner Brands The partnership →