An embedding model maps text into numeric vectors so that semantically related texts can be compared. Dense retrieval typically embeds a query and candidate passages, then ranks candidates by a similarity function such as cosine similarity or dot product. Embeddings can capture semantic similarity even when the query and passage do not share exact words. However, embedding models may miss exact identifiers or domain-specific terms, and their performance depends on the model and data.
