Enumeration: SimilarityType
Similarity type Default is cosine similarity. Dot product and negative Euclidean distance are also supported.
Enumeration Members
DEFAULT
DEFAULT:
"cosine"
Source
packages/core/src/embeddings/utils.ts:13
DOT_PRODUCT
DOT_PRODUCT:
"dot_product"
Source
packages/core/src/embeddings/utils.ts:14
EUCLIDEAN
EUCLIDEAN:
"euclidean"