COSINE_DISTANCE

Cosine distance between two vectors, defined as 1 - cosine_similarity, ranging from 0 to 2. A value of 0 indicates identical vectors, while 2 indicates opposite vectors. Lower values mean greater similarity.

Properties

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int