ailearnist Loading…
RAG & Retrieval Lab · Intermediate

Embedding Similarity Explorer

Compare sentences and see why "similar meaning" beats "same words" in semantic search.

Sentence similarity Similarity heatmap Keyword vs meaning

Query

Sentences (one per line)

Sets:

Ranked by meaning

Semantic score (cosine of embeddings) vs keyword score (shared words). Watch where they disagree.

Similarity heatmap

Cosine similarity between every pair of sentences — darker = closer in meaning.

Meaning vs keywords

  • Embeddings place texts with similar meaning close together, so "car" and "automobile" match with zero shared words.
  • Keyword search is still great for exact terms like order IDs and product codes — which is why real systems use hybrid search.
  • This explorer uses a small, transparent 32-dimension concept model so you can see why things match. Production models (OpenAI, Cohere, open-source) use 384–3,072 learned dimensions.
  • Next: try the Vector Search Playground or the RAG Playground.