Logo
Type aliases

AzureCosmosDBMongoDBIndexOptions

AzureCosmosDBMongoDBIndexOptions: object

Defined in: providers/storage/azure/src/vectorStore/AzureCosmosDBMongoVectorStore.ts:29

Azure Cosmos DB for MongoDB vCore Index Options.

Type declaration

indexType?

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

numLists?

readonly optional numLists: number

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

dimensions?

readonly optional dimensions: number

Number of dimensions for vector similarity.

similarity?

readonly optional similarity: AzureCosmosDBMongoDBSimilarityType

Similarity metric to use with the IVF index.

m?

readonly optional m: number

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

efConstruction?

readonly optional efConstruction: number

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

maxDegree?

readonly optional maxDegree: number

Max number of neighbors withe the Diskann idnex

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

On this page