An embedding is a fixed-length vector that represents the meaning of a piece of text in a continuous space.

Images - CLIP, Text - Glove, Audio- Wave2Vec

embedding model is used to create a Vector for Vector-DB

an embedding model takes text and outputs a single fixed-size vector that captures its meaning. Texts with similar meaning land near each other in vector space.

The model is trained so that semantically similar text lands near each other, even when the words differ.

Embedding model (typically encoder-only, like BERT-style or modified for embeddings):

RAG retrieval failures