What is an embedding?
An embedding is a numeric vector representation of data such as text. It lets systems compare meaning using similarity math.
Use these to explain embeddings clearly without overselling them.
An embedding is a numeric vector representation of data such as text. It lets systems compare meaning using similarity math.
RAG uses embeddings to retrieve chunks that are semantically related to the user's question, even when exact words differ.
Cosine similarity measures the angle between vectors. Similar directions usually mean related meaning.
No. Similarity means likely related, not necessarily correct, current, authorized, or complete.
Dense retrieval uses learned semantic vectors. Sparse retrieval uses exact or weighted term matching such as TF-IDF or BM25.
When both meaning and exact terms matter, such as support docs with error codes, legal clauses, SKUs, or configuration keys.
You usually need to re-embed the corpus and rebuild the vector index because vectors from different models may not be comparable.
Chunk id, source id, source text, title, section, access labels, version, effective date, chunker version, embedding model, and index version.
Privacy, cost, latency, drift, stale vectors, dimension mismatch, weak evals, and overtrusting semantic similarity.
Use golden questions with expected chunks and measure Recall@k, MRR, gold chunk rank, citation support, and downstream answer quality.