Embeddings
AI Fundamentals
Embeddings are lists of numbers that capture aspects of the meaning of text, images, or other data, so software can find items with similar meaning.
A vector database is a database built to store embeddings (lists of numbers representing the meaning of text, images, or other content) and search them by similarity. Rather than only matching exact keywords, it finds items whose vectors are closest to a query’s vector, which usually means closest in meaning. This is called similarity or nearest-neighbor search. AI tools use vector databases to quickly retrieve relevant information, such as document passages or products similar to one being viewed.
Also called vector store, vector DB
An online furniture retailer is building a “You might also like” feature. The team uses a multimodal embedding model (one that handles images and text) to turn each product’s photo and description into vectors. These go into a vector database with each item’s ID, category, price, and stock status, details known as metadata.
When a shopper views a walnut mid-century armchair, its vectors become the query. The database returns the most similar products, such as other mid-century chairs in warm wood tones, even when their listings use different words. Metadata filters, applied during the search, exclude out-of-stock items and keep prices close to the armchair’s. Matches can reflect style and product type, not just shared keywords, though their quality depends on the embedding model and on the product photos and descriptions.
A vector database does two jobs: it stores vectors, and it finds the closest ones to a query.
Checking a query against every stored vector gets slow as a collection grows. So vector databases typically build an index for approximate nearest-neighbor search, which may occasionally miss a true closest match in exchange for much faster results. How much accuracy is traded for speed is usually adjustable. Metadata filters narrow results further, for example to one product line, one region, or only documents a given user has permission to view.
Vector databases are the retrieval layer behind many AI features. In a common retrieval-augmented generation (RAG) setup, a user’s question is turned into a vector, the database returns the most similar passages from your documents, and those passages are given to a language model so it can answer from your material instead of relying only on what it learned in training. Not every RAG system works this way. Some use keyword search or combine both.
In semantic search, the same lookup lets a search box match by meaning. A search for “how do I reset my login” can surface a help article titled “Recovering account access,” even though the wording is different.
A vector database does not decide what content you have or whether it is correct. That depends on the knowledge base or other sources it draws from. It also does not write answers. It finds close matches, and other parts of the system decide what to do with them. The most similar passage is not always the most useful one, and if the source content is outdated or messy, a vector database will simply retrieve outdated or messy content faster.
There are two broad ways to get vector search:
Neither approach is better in every case. The right fit depends on how much content you have, how fast results need to be, which systems your team already maintains, and how you handle security and access control. For smaller projects, the vector features of a platform you already use are often enough.
Often, no. Many AI assistants and business tools that let you upload files or connect a document library handle embeddings and retrieval behind the scenes. When you add files to an AI assistant’s project or connect a help center to a support chatbot, vector search may be doing the work without you ever seeing it.
You are more likely to evaluate a vector database directly when building a custom AI application, such as an internal assistant that searches thousands of documents or a recommendation feature on your website. In that case, ask practical questions:
SN3 AI Employees are role-trained AI systems deployed inside the tools your team already uses, with guardrails and support after launch.
Fill this out and we’ll reply with times within one business day.
Prefer the full page? Open the contact page