VectorIndex Class
VectorIndex.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.cosmosdb._serialization.ModelVectorIndex
Constructor
VectorIndex(*, path: str, type: str | _models.VectorIndexType, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
path
|
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
|
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". |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python