Skip to content

Glossary: RAG Basics

Embedding

Also written: embeddings, embed, vector

A list of numbers (a vector) that captures the meaning of a text. Texts with similar meaning get similar vectors, so you can search by meaning.

Where the book teaches it

Related terms

Cosine similarityVector searchall-MiniLM-L6-v2