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". |
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Python