Kenso

Glossary

RAG (retrieval-augmented generation).

Retrieval-augmented generation (RAG) is a method where an AI system first searches a trusted source, such as company documents or a database, for relevant passages, then gives them to a language model so its answer is based on that material.

What is RAG (retrieval-augmented generation)?

In short

A RAG pipeline has two halves.

Retrieval prepares your content in advance: it splits documents into chunks, turns each chunk into an embedding (a numeric representation of meaning) and stores them in an index, often a vector database. At question time it finds the chunks closest to the question. Generation then passes those chunks to the language model with the question and an instruction to answer from them, often with citations.

RAG fixes two limits of LLMs without retraining the model: the training cutoff and the lack of private knowledge. Update a document and the next answer reflects it, and answers can point to their sources. The term comes from a 2020 research paper, Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks, presented at NeurIPS 2020.

RAG example.

For example, a company loads 300 pages of product docs, 40 case studies and its pricing FAQ into a RAG system. When a prospect asks whether the product integrates with NetSuite, the system retrieves the two relevant doc pages, and the rep's assistant drafts a reply that quotes them with links in about 10 seconds.

RAG in practice.

Sales teams meet RAG in tools that answer from their own material: a rep asks how the product handles single sign-on and gets the answer from the security docs, or an email assistant pulls the case study that matches a prospect's industry. Answer quality depends mostly on retrieval. Stale, duplicated or badly split documents produce wrong answers no matter how good the model is.

Frequently asked questions.

Retrieval-augmented generation: the AI retrieves relevant material from a knowledge source first, then generates its answer from that material.

Start with a 14-day free trial.

14-day free trial, no card to start.

Left illustrated email envelope for personalized outreachCenter illustrated email envelope for personalized outreachRight illustrated email envelope for personalized outreach