
An embedding model is the piece of a vector database, a RAG pipeline, or an AI agent's memory that actually does the understanding. Everything downstream, similarity search, retrieval, semantic matching, depends on this one step working well: turning a piece of text, an image, or a sound clip into a list of numbers that captures what it means, not just what it literally says. Get the embedding wrong and nothing built on top of it, no matter how well-engineered, will find the right answer.
TL;DR:
multilingual-e5-small, a real, independently benchmarked 118M-parameter model.Per IBM's framing, an embedding model represents objects "as points in continuous vector space where spatial locations carry semantic meaning." Concretely: raw input, text, an image, audio, first gets converted into a numerical format a model can process, tokenized text in the text case, pixel values for images. The model then outputs an embedding: "an array of numbers... where each number indicates where an object is along a specified dimension." Two pieces of text that mean similar things, "the car wouldn't start" and "the vehicle wouldn't turn on," end up as vectors positioned close together in that space, even though they share almost no words, because the model learned to place them there based on meaning, not surface form.
Every embedding is a fixed-length list of numbers, and the length of that list is its dimension count. IBM notes "the number of dimensions can reach a thousand or more depending on the input data's complexity," though plenty of production models sit lower, multilingual-e5-small outputs 384 dimensions, for instance, a deliberately compact size that trades some nuance for speed. There's no universally "correct" dimension count, it's a design tradeoff every model makes: more dimensions can capture finer semantic distinctions, at the cost of more storage per embedding and more compute per comparison.
Once two pieces of data are both vectors, comparing them is a geometry problem. The closer two embeddings sit in that space, the more similar the model considers them, measured with a distance function, "Euclidean, cosine, or other" per IBM. Cosine similarity, comparing the angle between two vectors rather than the distance between their endpoints, is the most common choice for text embeddings specifically, since it ignores differences in vector length that don't actually reflect a difference in meaning.
Embeddings aren't hand-designed, they're learned. A common approach is contrastive learning: the model gets shown pairs of text that should be considered similar (a search query and the document that answers it, for example) and pairs that shouldn't, and it adjusts its internal weights until similar pairs land close together and dissimilar pairs land far apart. multilingual-e5-small, the model AIOZ Agent Memory runs on, was trained exactly this way, using paired "query:" and "passage:" prefixes during training so the model learns the specific relationship between a question and the text that answers it, not just generic text similarity.
Because there are dozens of embedding models to choose from, the field settled on a shared way to compare them: MTEB, the Massive Text Embedding Benchmark, a multi-task evaluation suite covering retrieval, clustering, classification, and semantic similarity, with models ranked by their average score across all of it. multilingual-e5-small is a real, independently benchmarked entry on that leaderboard, not a marketing claim, at 118M parameters and 12 layers, built on Microsoft Research's Multilingual MiniLM architecture, and one of the few small models that supports 100 languages rather than English alone, which is exactly why it's a workable default for a memory system that shouldn't require picking a language-specific model up front.
Every embedding model choice is a tradeoff between speed, size, accuracy, and language coverage, and switching models later isn't a small change: embeddings from two different models aren't comparable to each other, so re-embedding an entire existing dataset is usually required if the underlying model changes. That's part of why a system like AIOZ Storage Vector Database computing the embedding server-side, rather than leaving it to whatever the caller happens to use, removes a real source of mismatch: the wrong model, the wrong dimension, or two datasets embedded with different models that were never actually comparable in the first place.
What is an embedding model?
A model that converts raw data, text, images, or audio, into a vector, an array of numbers that places that data as a point in high-dimensional space, where similar meanings end up close together.
What do the "dimensions" of an embedding mean?
The length of the vector the model outputs. More dimensions can capture more nuanced relationships between concepts, at the cost of more storage and compute per comparison; common sizes range from a few hundred to low thousands.
How is similarity between two embeddings measured?
With a distance function, most commonly cosine similarity, which compares the angle between two vectors rather than their raw distance, making it a common default for text specifically.
How are embedding models trained?
Commonly with contrastive learning: the model sees pairs of text that should be similar and pairs that shouldn't, and adjusts until similar pairs land close together in vector space and dissimilar pairs land far apart.
How do you compare different embedding models?
Against MTEB, the Massive Text Embedding Benchmark, a standard multi-task evaluation suite covering retrieval, clustering, classification, and semantic similarity that most published embedding models report a score on.
What embedding model does AIOZ use?
AIOZ Agent Memory runs on multilingual-e5-small, a real, independently benchmarked 118M-parameter model supporting 100 languages, computed server-side rather than left to the caller to generate.

AIOZ Storage Super Intelligence Memory gives AI agents memory: Record a statement, Recall it by meaning, with no embeddings or vector index to manage yourself.

Static website hosting on AIOZ Storage turns any bucket into a live site with a custom domain. Here is the full setup, from bucket to DNS verification.

An embedding model turns text, images, or audio into vectors so similar meanings land close together in space. Here is how embedding models actually work.

Retrieval-augmented generation (RAG) grounds an LLM answer in your own data, not its training set. Here is how the retrieval and generation steps work.

AIOZ Storage has no official MCP server yet. Here is a working MCP server for AIOZ Storage, built with the official Python SDK and boto3, tools included.

What is an MCP server: a standard letting AI agents like Claude use tools and data through one protocol. How MinIO and Azure apply it to object storage.