Embeddings & Retrieval Augmented Generation

Grounding answers in your own content

A model only knows what was in its training data and what you put in the prompt. Retrieval augmented generation closes that gap: find the passages relevant to a question, place them in the prompt, and ask the model to answer from them — with citations.

The pipeline

Design choices

Practical notes

Further Reading