Share via


VectorDistanceOptions Class

Definition

[System.Runtime.CompilerServices.Nullable(0)]
public sealed class VectorDistanceOptions
[<System.Runtime.CompilerServices.Nullable(0)>]
type VectorDistanceOptions = class
Public NotInheritable Class VectorDistanceOptions
Inheritance
VectorDistanceOptions
Attributes

Constructors

Name Description
VectorDistanceOptions()

Properties

Name Description
DataType

The data type of the vectors. float32, int8, uint8 values. Default value is float32.

DistanceFunction

The metric used to compute distance/similarity.

QuantizedVectorListMultiplier

An integer specifying the size of the search list when conducting a vector search on the quantizedFlat index. Increasing this may improve accuracy at the expense of RU cost and latency. Min=1, Default=5, Max=100.

SearchListSizeMultiplier

An integer specifying the size of the search list when conducting a vector search on the DiskANN index. Increasing this may improve accuracy at the expense of RU cost and latency. Min=1, Default=10, Max=100.

Applies to