AzureCosmosDBIndexOptions: {
    dimensions?: number;
    numLists?: number;
    similarity?: AzureCosmosDBSimilarityType;
    skipCreate?: boolean;
}

Azure Cosmos DB 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?: AzureCosmosDBSimilarityType

    Similarity metric to use with the IVF index.

  • Optional ReadonlyskipCreate?: boolean

    Skips automatic index creation.