AI Video Academy · RAG Engineering · intermediate
How Does Vector Search Work?
Embeddings, cosine similarity, and nearest neighbours.
Transcript
How does search find meaning, not just matching words?
Chunks are embedded and indexed once. Each question is embedded and compared with them.
The question’s vector lands near the passages that answer it.
Scores are cosine similarities; large indexes use approximate nearest-neighbour search.
Vector search matches meaning but can miss exact names and codes.
Experiment with this concept in PromptFlowEngine.