Interactive visualization of vector semantic search — see how words map to 2D space and find nearest neighbors by cosine similarity
Yes, PivaBox Vector Search Explainer is completely free to use. All computation and visualization runs locally in your browser.
Cosine similarity measures the cosine of the angle between two vectors. It ranges from -1 (completely opposite) to 1 (identical direction). In vector search, it tells you how semantically similar two pieces of text are — higher cosine similarity means more similar meaning.
No — the word positions are pre-arranged for educational purposes to illustrate semantic clustering (animals near animals, vehicles near vehicles, etc.). Real embeddings would be hundreds or thousands of dimensions generated by a neural network model.