AI & automation

What are embeddings?

Embeddings are lists of numbers (vectors) produced by an AI model to represent the meaning of a piece of text, an image or other data, so that items with similar meanings end up with similar numbers.

What they enable

Semantic search that finds how do I reset my login when the document says password recovery, grouping similar support tickets, recommending related products and retrieving the right passages for retrieval-augmented generation.

Practical notes

Embeddings are created once per document chunk and stored, usually in a vector database or a database extension such as pgvector, then compared with the embedding of each new query. Re-create them when documents change or when you switch embedding models.

Questions, answered

Creating them is cheap per document; storage and search costs depend on volume.

Multilingual embedding models match meaning across languages.

By the Stegnor team · Updated