Topic

Retrieval (RAG)

Retrieval-augmented generation (RAG) answers questions with a language model by first retrieving the relevant pieces of your own material. These notes cover retrieval that works on structured material such as code, contracts and catalogues, and how to know whether a change made it better.

RAG and knowledge systems

Working on one of these problems?

The patterns in these notes are the ones we use on client work. Tell us what you are building.

Book an AI consultation