Dense vectors
Dense vectors are the most common vector type used in semantic search and AI applications. Each dense vector has a fixed number of dimensions, with each element represented as a floating-point number. Modern embedding models generate dense vectors to represent text, images, audio, and other data types. Dense vectors can have hundreds or thousands of dimensions, making them suitable for capturing complex semantic relationships. The following example shows a 384-dimensional dense vector, truncated for display.Multivector representations
VectorAI DB supports multiple vector embeddings per data object rather than using a single embedding. Models such as ColBERT, ColPali, and ColQwen generate these multivector representations, allowing fine-grained semantic matching at the token or segment level. Traditional single-vector approaches compress entire documents into one embedding, losing nuanced information about individual parts. Multivector representations preserve this granularity by generating separate embeddings for different segments such as tokens in text or patches in images.How multivector search works
During search, VectorAI DB compares corresponding parts of documents rather than treating entire texts as monolithic units. This architecture improves search precision by enabling:- Token-level matching to compare individual words or phrases in text documents.
- Patch-level comparison to match specific regions within images.
- Segment-level analysis to evaluate relevance of sections in long-form content.
- Fine-grained scoring to assess relevance across document parts independently.
Use cases for multivector embeddings
Multivector representations excel in scenarios requiring precise matching:- Document retrieval — Find specific passages that answer queries within long documents.
- Visual search — Match detailed image regions rather than whole-image similarity.
- Long-form content — Analyze section-level relevance in articles, reports, or books.
- Question answering — Identify the exact context within documents that contains answers.
Distance metrics and vector similarity
Different distance metrics measure vector similarity in different ways. Choose a metric that matches how your embedding model was trained. For a comparison of the available options, see Distance metrics. The distance metric is fixed at collection creation. If you need a different metric, you must create a new collection and re-insert your vectors. See Store vectors for instructions.Task guides
The following guides cover vector operations step by step.Next steps
- Points — Understand how vectors fit into the data model.
- Distance metrics — Choose the right measure for vector similarity.
- Collections — Organize and configure how vectors are stored.
- Indexing — Tune HNSW parameters for vector search performance.
- Search operations — Query vectors for semantic similarity.