Semantic similarity estimates how closely two pieces of content correspond in meaning. In embedding-based retrieval, related documents and queries occupy nearby positions in a high-dimensional meaning space. section 4.1.1
Retrieval systems can use similarity thresholds to keep only passages directly relevant to a query, reducing distracting context. Similarity matching can also help compare generated claims with grounding data during hallucination checks. section 3.6.5 section 9.1.1
Filtering a roaming query
For “How do I set up international roaming?”, a similarity filter can retain the setup FAQ while excluding related rate, destination-coverage, and terms pages. section 3.6.5
Figure 4.3 Visualizing embeddings across a vector space. Each point represents a document that has been mapped to a specific location based on its semantic content.
See how documents with related meanings cluster as neighboring points in a projected vector space. section 4.1.1




