Topic
Embeddings
7 posts on embeddings — part of glossary on the n4n AI blog.
What are embeddings in AI, explained simply?
A practitioner's guide to embeddings — what they are, how vector representations capture semantic meaning, and why they power search, RAG, and recommendation systems.
How text embeddings turn words into vectors
A practical guide to how text embeddings work, covering model selection, dimensionality tradeoffs, indexing strategies, and common pitfalls when moving from prototype to production.
How embeddings power semantic search
A practical guide to building semantic search with embeddings — model selection, indexing strategies, query processing, reranking, and production pitfalls.
How cosine similarity measures embedding closeness
A precise technical explanation of cosine similarity for embeddings — how it works, why magnitude invariance matters, practical code, and the misconceptions that trip up engineers.
Embeddings vs tokens: what's the difference?
Understand the core difference between embeddings and tokens, when to use each, and how they interact in LLM pipelines.
Embeddings and RAG: how retrieval actually works
A practical guide to how embeddings power retrieval in RAG systems, covering vector search, chunking strategies, hybrid retrieval, and common production pitfalls.
Common embedding model mistakes that hurt search quality
Six embedding model mistakes that silently degrade search quality, with code patterns to detect and fix each one.
More topics in glossary
- Structured Outputs & JSON Mode19
- AI Agents Fundamentals12
- Hallucination in LLMs11
- Sampling Parameters: Top-p, Top-k & Penalties11
- Context Window & Context Length10
- Fine-Tuning Fundamentals9
- Foundation Models: Base vs Instruct vs Chat9
- Model Families & Naming Conventions: GPT-5, Claude, Gemini 3, Llama 4, Mistral, DeepSeek, Qwen, Grok9
- Grounding & Fact-Checking in AI8
- LLM Benchmarks: MMLU, HumanEval, SWE-bench & GPQA8
- Max Tokens, Stop Sequences & Output Truncation8
- Quantization Formats: GGUF, GPTQ, AWQ & INT4/INT88