AzureCosmosDBSimilarityType: {
    COS: "COS";
    IP: "IP";
    L2: "L2";
} = ...

Cosmos DB Similarity type.

Type declaration

  • ReadonlyCOS: "COS"

    CosineSimilarity

  • ReadonlyIP: "IP"

    Inner - product

  • ReadonlyL2: "L2"

    Euclidian distance