Partager via


IndexMetric Enum

Definition

The vector similarity metric of the index

[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.JsonStringEnumConverter))]
public enum IndexMetric
[<System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.JsonStringEnumConverter))>]
type IndexMetric = 
Public Enum IndexMetric
Inheritance
IndexMetric
Attributes

Fields

Name Value Description
None 0

Default value.

Euclidean 1

Enum Euclidean for value: euclidean

Cosine 2

Enum Cosine for value: cosine

Dotproduct 3

Enum Dotproduct for value: dotproduct

Applies to