Share via


VectorStoreVectorAttribute.DistanceFunction Property

Definition

Gets or sets the distance function to use when comparing vectors.

public:
 property System::String ^ DistanceFunction { System::String ^ get(); void set(System::String ^ value); };
public string? DistanceFunction { get; init; }
member this.DistanceFunction : string with get, set
Public Property DistanceFunction As String

Property Value

The default value varies by database type. See the documentation of your chosen database connector for more information.

Applies to

See also