diff
Calculates the difference between two embeddings using the underlying embedder. Lower values indicate more similarity between the embeddings.
Return
A double value representing the difference between the two embeddings.
Parameters
embedding1
The first embedding to compare.
embedding2
The second embedding to compare.