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/embeddings/dist/index.d.ts:11
DOT_PRODUCT
DOT_PRODUCT:
"dot_product"
Defined in
packages/core/embeddings/dist/index.d.ts:12
EUCLIDEAN
EUCLIDEAN:
"euclidean"
Defined in
packages/core/embeddings/dist/index.d.ts:13