KNOWLEDGE, EMBEDDINGS & RAG • 115 / 397
Teach models to look up relevant information before answering.
Nearest Neighbor
Nearest-neighbor search finds stored vectors closest to a query vector.
Think of it like
Think of Nearest Neighbor like a library system: instead of memorizing every book, find the right shelf and bring only the useful pages to the desk.
Real life
Search engines and recommendation systems use ideas related to Nearest Neighbor.
SRE lens
Retrieve incidents most similar to the current symptoms.
Remember thisNearest-neighbor search finds stored vectors closest to a query vector.