VectorIndex interface

Represents a vector index in the Azure Cosmos DB service. A vector index is used to index vector fields in the documents.

Properties

path

The path to the vector field in the document. for example, path: "/path/to/vector".

type

The index type of the vector. Currently, flat, diskANN, and quantizedFlat are supported.

Property Details

path

The path to the vector field in the document. for example, path: "/path/to/vector".

path: string

Property Value

string

type

The index type of the vector. Currently, flat, diskANN, and quantizedFlat are supported.

type: VectorIndexType

Property Value