Glossary · Phase 1 · Building with LLMs
Similarity search
Finding the texts whose meaning is closest to a question, by comparing their embeddings.
Try it now
Five small steps, and this is the search behind most AI assistants.
Learn it properly
Similarity search · Find the most relevant text by comparing embeddings. About 25 minutes.
Other terms from the same lesson
- top-k search: Returning the k results that score highest, such as the 3 most similar documents to a question.
Never trained an AI?
Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.