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/types.ts:8
DOT_PRODUCT
• DOT_PRODUCT = "dot_product"
Defined in
packages/core/src/embeddings/types.ts:9
EUCLIDEAN
• EUCLIDEAN = "euclidean"