AI glossary
Embedding
A dense numerical representation of text (or other media) that captures meaning. Used for semantic search, clustering, recommendation. Underlies most RAG systems.
Related terms
RAG (Retrieval-Augmented Generation)
Fetching relevant documents from a database first, then asking the model to answer using only those documents. The default architecture for grounded chatbots and knowledge assistants.
Vector database
A database optimized for similarity search over embeddings. pgvector if you're on Postgres, Pinecone / Qdrant / Weaviate when you need more scale.