MAXIMUM_INNER_PRODUCT
Maximum inner product. This is like VectorSimilarityFunction.DOT_PRODUCT, but does not require normalization of the inputs. Should be used when the embedding vectors store useful information within the vector magnitude
Properties
Functions
Link copied to clipboard
Calculates a similarity score between the two vectors with a specified function. Higher similarity scores correspond to closer vectors. Each (signed) byte represents a vector dimension.
Calculates a similarity score between the two vectors with a specified function. Higher similarity scores correspond to closer vectors.