Similarity measures the proximity between two embedding vectors: cosine similarity (angle), Euclidean distance, or dot product. The chunks whose vector is closest to that of the question are returned as the most relevant results.
Example
cos(a, b) = (a · b) / (‖a‖ ‖b‖)