AzureCosmosDBMongoDBIndexOptions: {
    dimensions?: number;
    numLists?: number;
    similarity?: AzureCosmosDBMongoDBSimilarityType;
    skipCreate?: boolean;
}

Azure Cosmos DB for MongoDB vCore Index Options.

Type declaration

  • Optional Readonlydimensions?: number

    Number of dimensions for vector similarity.

  • Optional ReadonlynumLists?: number

    Number of clusters that the inverted file (IVF) index uses to group the vector data.

  • Optional Readonlysimilarity?: AzureCosmosDBMongoDBSimilarityType

    Similarity metric to use with the IVF index.

  • Optional ReadonlyskipCreate?: boolean

    Skips automatic index creation.