Skip to main content

Type Alias: AzureCosmosDBMongoDBIndexOptions

AzureCosmosDBMongoDBIndexOptions: object

Azure Cosmos DB for MongoDB vCore Index Options.

Type declaration

dimensions?

readonly optional dimensions: number

Number of dimensions for vector similarity.

efConstruction?

readonly optional efConstruction: number

The size of the dynamic candidate list for constructing the graph with the HNSW index.

indexType?

readonly optional indexType: "ivf" | "hnsw" | "diskann"

lBuild?

readonly optional lBuild: number

L value for index building withe the Diskann idnex

lSearch?

readonly optional lSearch: number

L value for index searching withe the Diskann idnex

m?

readonly optional m: number

The max number of connections per layer with the HNSW index.

maxDegree?

readonly optional maxDegree: number

Max number of neighbors withe the Diskann idnex

numLists?

readonly optional numLists: number

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

similarity?

readonly optional similarity: AzureCosmosDBMongoDBSimilarityType

Similarity metric to use with the IVF index.

Defined in

packages/llamaindex/src/vector-store/AzureCosmosDBMongoVectorStore.ts:28