Glossary

Text Embedding

A text embedding is a numerical vector representation of a sentence or passage that captures semantic meaning, produced by an embedding model and used to power similarity search in retrieval-augmented generation.

What it isA list of numbers that stands for meaning
Made byAn embedding model
Used forSimilarity search in RAG
Stored in Db2 for iNo. Db2 for i has no vector store

How embeddings find similar text

An embedding turns a sentence or passage into a list of numbers. Passages that mean similar things end up close together. That lets a system find related content even when the exact words do not match.

Getting embeddings from watsonx.ai

  • A REST endpoint at /ml/v1/text/embeddings
  • A Python Embeddings class
  • Up to 1,000 lines of text per request

Embedding models on watsonx.ai

ModelDetails
granite-embedding-278m-multilingualIBM. 768 dimensions, 512 max input tokens
slate-125m-english-rtrvr-v2IBM. Scheduled for withdrawal August 8, 2026
slate-30m-english-rtrvr-v2IBM. Scheduled for withdrawal August 8, 2026
multilingual-e5-largeMicrosoft. Supported

Where IBM i shops keep them

watsonx.ai makes the vectors. As of September 2026 Db2 for i has no vector store to hold them, so they usually land in OpenSearch running on Power.

Related Terms