juppiter journal juppiter.com RSS

Glossary

Retrieval-augmented generation (RAG)

Retrieval-augmented generation, or RAG, is a way to make a language model answer from your own documents. The system first searches a body of text for the passages most relevant to a question, then hands them to the model along with the question.

Also called: RAG, retrieval augmented generation

Why it matters for investment teams

A language model's training does not include a firm's own research notes, memos, models or diligence files. RAG is the usual way to put that material in front of the model at the moment a question is asked, so the answer can draw on what the firm actually knows and can point back to the passages it used.

RAG is only as good as its retrieval step. If the passage that holds the answer is never found, or is buried under near misses, the model has nothing right to work from. A basic setup also treats each chunk as an independent item, which makes it hard to answer questions that join facts across documents, such as a company that appears under a ticker, a trade name and a former name. Hybrid search, reranking and a knowledge graph exist to close those gaps.

RAG does not remove hallucination. It gives the model better material, but the model can still misread or blend passages, so test on your own questions. RAG is the retrieval step inside the wider practice of context engineering. The full explanation is in What Is RAG?.

All glossary terms

Request a demo

Tell us about your firm and we'll set up a walkthrough of juppiter.