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