DocumentDBSimilarityType#

class langchain_community.vectorstores.documentdb.DocumentDBSimilarityType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]#

DocumentDB Similarity Type as enumerator.

COS = 'cosine'#

Cosine similarity

DOT = 'dotProduct'#

Dot product

EUC = 'euclidean'#

Euclidean distance