
An embedding model is a machine learning model that turns text, images, or audio into a vector: a fixed-length list of numbers where similar meanings land close together. Vector search, RAG, and agent memory all depend on that one step.
TL;DR:
Updated Nov 30, 2026: replaced quotes with linked sources, carried one sentence pair through the post, added a common-mistakes list and a storage-size calculation.
An embedding places each object as a point in a continuous vector space, where position carries meaning. The raw input first becomes numbers the model can process: tokens for text, pixel values for images. The model then outputs an array of numbers, and each number gives the object's position along one dimension.
Take "the car wouldn't start" and "the vehicle wouldn't turn on," two sentences that share almost no words. A good model still puts their vectors close together, because it learned to place text by meaning instead of by spelling. That is why you can search a support archive for "login broken" and get back a ticket titled "can't sign in."
Every embedding is a fixed-length list of numbers, and the length of that list is its dimension. Large models output a thousand or more. The open model multilingual-e5-small outputs 384, so each of the two car sentences becomes a list of 384 numbers. The AIOZ Storage SDK guides use 1536 in their examples, the output size of OpenAI's text-embedding-3-small.
More dimensions can capture finer differences in meaning, but they cost storage and compute. Stored as float32, the data type in those guides, each number takes 4 bytes, so a million support tickets at 1,536 dimensions hold about 6.1 GB of raw vectors, four times the 1.5 GB they take at 384.
Once two pieces of data are both vectors, comparing them is a geometry problem. The closer two embeddings sit, the more similar the model considers them, and the usual measures are Euclidean distance and cosine similarity.
Cosine similarity compares the angle between two vectors instead of the distance between their endpoints. It is the usual choice for text because it ignores differences in vector length that say nothing about meaning. A good model points the two car sentences in nearly the same direction. On AIOZ Storage you choose the metric once per index, every query on that index uses it, and the SDK guides use cosine.
Embeddings are learned, and a common training method is contrastive learning. The model sees pairs of text that should match, such as a search query and the passage that answers it, plus pairs that shouldn't. It adjusts its weights until matching pairs land close together and the others land far apart.
That training shapes how you use a model. The model card for multilingual-e5-small asks you to start each input with "query: " or "passage: ", the same split the model learned from. It is a 12-layer model that supports 100 languages, which makes it a common compact pick for multilingual text.
To compare models, the field uses MTEB, the Massive Text Embedding Benchmark. It is a multi-task suite covering retrieval, clustering, classification, and semantic similarity, and models are ranked by their average score.
The model, not the database, decides what "similar" means and how long every vector is, so choose it before you create an index. AIOZ Storage gives you two ways to work with embeddings:
This is the index step from the Python guide, using boto3's s3vectors client:
client.create_index(
vectorBucketName='YOUR_BUCKET_NAME',
indexName='my-index',
dataType='float32',
dimension=1536,
distanceMetric='cosine'
)Change dimension to your own model's output size: 384 if you embed the two car sentences with multilingual-e5-small. An index takes up to 4,096 dimensions, the same cap whether you call the SDK directly or go through the MCP server.
Next step: read the AIOZ Storage Vector Database docs and pick the SDK guide for your language.
What is an embedding model?
A model that converts raw data, such as text, images, or audio, into a vector. The vector 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, such as 384 or 1,536. Longer vectors can capture finer relationships but cost more storage and compute.
How is similarity between two embeddings measured?
Most often with cosine similarity, which compares the angle between two vectors rather than their raw distance.
How are embedding models trained?
Commonly with contrastive learning, which pulls matching text pairs together and pushes unrelated pairs apart.
How do you compare different embedding models?
With MTEB, the Massive Text Embedding Benchmark, which scores models on retrieval, clustering, classification, and semantic similarity.
What embedding model does AIOZ Storage use?
On the Vector Database you choose the model yourself and set the index dimension to match. Super Intelligence Memory creates the embeddings for you, so you work with plain-language statements instead of vectors.
Can I mix vectors from two embedding models in one index?
You shouldn't. Vectors from different models aren't comparable, and every vector in an index must have the same dimension as the index.

Full vs incremental vs differential backup: what each run copies, how restore chains work, storage and time trade-offs, synthetic fulls and RPO/RTO fit.

RAID vs erasure coding: RAID guards the disks of one array, while erasure coding spreads k data and m parity pieces over nodes. Compare overhead and rebuilds.

Reed-Solomon coding turns k data pieces into n, and any k of them rebuild the original. See the polynomial math, GF(2^8), a demo and how AIOZ Storage uses it.

RPO vs RTO: RPO caps how much data you can lose, RTO caps how long you can stay down. See how to calculate both, MTD, and the DR strategies that meet them.

AWS Signature Version 4 signs each S3 request with an HMAC key derived from your secret. See the four steps, a worked example and the errors that break it.

Encryption at rest vs in transit: at rest guards stored bytes from stolen disks, in transit guards requests on the network with TLS. See what each one misses.