CosmosDBSimilarityType#

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

Cosmos DB Similarity Type as enumerator.

COS = 'COS'#

CosineSimilarity

IP = 'IP'#

inner - product

L2 = 'L2'#

Euclidean distance

Examples using CosmosDBSimilarityType