Veltos.Tech

AI and ML

Embeddings

Also known as: vector embeddings, vector search, semantic search

Definition

Embeddings are numeric vectors a model produces from text, images or products so that items close in meaning end up close in the vector space, which is what makes semantic search, recommendations and duplicate detection possible.

The idea is to replace comparison by words with comparison by meaning. Substring search will never match "limescale remover" to "how to clean a kettle", because they share no words. Embeddings turn both phrases into vectors of, say, several hundred or several thousand numbers, and proximity is measured as the angle between them, the cosine similarity. The closer the vectors, the closer the meaning. The same trick applies beyond text: product listings, images and user behaviour, anything representable as a vector, can be compared by similarity.

The commercial scenarios are broader than people assume and not all of them involve chatbots. Site search that copes with synonyms and typos. Similar-product recommendations without manual category tagging. Routing support tickets by meaning rather than keywords. Deduplicating product listings when merging supplier price lists, a job that takes weeks by hand. Clustering reviews and enquiries to see what people write about most. And, of course, the retrieval layer inside a RAG system.

Three traps, all technical. First, mixing vectors from different models: they are not comparable, search starts returning noise and nothing visibly breaks. Hence the rule that changing the model means reindexing everything. Second, model quality on Russian text: many popular models are trained mostly on English and perform noticeably worse on Russian, so the choice has to be validated on your own data rather than on benchmark tables. Third, expecting vector search to replace the ordinary kind: part numbers, document IDs and exact names are still retrieved more reliably by full-text search, and the correct design is usually hybrid.

Related terms

Related services

Read more

Need this done, not just defined?

We do this work, not only write about it. Describe the task and we will scope it and send a staged estimate.