- Glossary
- Embeddings
What are embeddings?
An embedding is a list of numbers that represents the meaning of a piece of text. Texts with similar meaning produce vectors that are close together, so embeddings let software compare and search content by meaning instead of exact words. They are the basis of semantic search and retrieval-augmented generation.
Also called: Text embeddings, Vector embeddings · Last updated
How they are used
Split documents into chunks, embed each chunk, and store the vectors. At query time, embed the question and retrieve the closest chunks to give the model as context.
Pricing
Embedding models are billed on input tokens only, since they return vectors rather than generated text.