Embedding spaces and vector indexes
medium 9 minVector retrieval compares representations under a declared metric.
Trace the example
Follow the evidence through each stage, then test a change in the case.
An exact neighbor disappears in an approximate index
Embedding service
q = (1, 0)
Use normalized vectors in the same encoder space. The intended reference passage has vector (0.8, 0.6), cosine 0.8 with this query.