Vector
An array of numbers representing data in a multi-dimensional space.
A vector is an ordered list of floating-point numbers that represents an object — a word, sentence, image, or document — as a point in high-dimensional space. Models produce these numeric representations so semantically similar items land close together, enabling search without exact keyword matching. The exam distinction: an embedding is the model output that converts raw data into a vector, while the vector is simply the resulting array. Amazon Bedrock Knowledge Bases store vectors to power retrieval-augmented generation (RAG), comparing a query vector against document vectors using metrics like cosine similarity.
PlayPrepHQ study notes are written and reviewed against primary exam sources. How we create & review content →