Lab · Search & RAG · ~3 min
Embedding similarity
Compare two texts with a bag-of-words cosine score. See why embeddings beat keywords, then practice in the embeddings lesson.
How to read this
- Use this to feel cosine similarity, not to pick a production embedding model.
- Try a paraphrase with almost no shared words — the toy score drops; a real model often would not.
- Continue in What are embeddings, then RAG.