Agents & Tools · beginner
Semantic Search
Semantic search ranks documents by meaning rather than keyword match, using embedding similarity. "Affordable laptops" can match "cheap notebooks" even with no overlapping words.
Explanation
Encode the query and the documents into the same embedding space; rank by similarity (cosine or dot product). Modern systems combine semantic search with traditional keyword search (BM25) — hybrid search — to get the best of both: semantic recall + exact-match precision.
Semantic search is the retrieval step in most RAG systems and the engine behind tools like "find similar customers" or "deduplicate near-identical bug reports."
Examples
- Searching "cars under 10k" matches "vehicles below ten thousand dollars."
- Deduplicating tickets where two users describe the same bug differently.
Frequently asked
What is Semantic Search?
Semantic search ranks documents by meaning rather than keyword match, using embedding similarity. "Affordable laptops" can match "cheap notebooks" even with no overlapping words.
What is an example of semantic search?
Searching "cars under 10k" matches "vehicles below ten thousand dollars."
How is Semantic Search related to Embedding?
Semantic Search and Embedding are both agents & tools concepts. An embedding is a list of numbers (a vector) that represents a piece of input — a word, a sentence, an image — in a space where similar things end up close together.
Is Semantic Search considered beginner?
Semantic Search is generally considered beginner-level material in the AI and LLM space.