你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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".