Skip to main content

Enumeration: SimilarityType

Similarity type Default is cosine similarity. Dot product and negative Euclidean distance are also supported.

Enumeration Members

DEFAULT

DEFAULT = "cosine"

Defined in

Embedding.ts:19


DOT_PRODUCT

DOT_PRODUCT = "dot_product"

Defined in

Embedding.ts:20


EUCLIDEAN

EUCLIDEAN = "euclidean"

Defined in

Embedding.ts:21