VectorIndexDefinition<T>.WithQuantizationByteSize(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures the quantization byte size for the current VectorIndexPath definition.
public Microsoft.Azure.Cosmos.Fluent.VectorIndexDefinition<T> WithQuantizationByteSize(int quantizationByteSize);
member this.WithQuantizationByteSize : int -> Microsoft.Azure.Cosmos.Fluent.VectorIndexDefinition<'T>
Public Function WithQuantizationByteSize (quantizationByteSize As Integer) As VectorIndexDefinition(Of T)
Parameters
- quantizationByteSize
- Int32
The number of bytes used in product quantization of the vectors. This is an optional parameter and applies to index types DiskANN and quantizedFlat. Note that, the allowed range for this parameter is between 1 and 3.
Returns
An instance of the current VectorIndexDefinition<T>.