VectorIndex Class

VectorIndex.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.cosmosdb._serialization.Model
VectorIndex

Constructor

VectorIndex(*, path: str, type: str | _models.VectorIndexType, **kwargs: Any)

Keyword-Only Parameters

Name Description
path
str

The path to the vector field in the document. Required.

type

The index type of the vector. Currently, flat, diskANN, and quantizedFlat are supported. Required. Known values are: "flat", "diskANN", and "quantizedFlat".

Variables

Name Description
path
str

The path to the vector field in the document. Required.

type

The index type of the vector. Currently, flat, diskANN, and quantizedFlat are supported. Required. Known values are: "flat", "diskANN", and "quantizedFlat".