IndexMetric Enum

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.

The vector similarity metric of the index

C#
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.JsonStringEnumConverter))]
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

製品 バージョン
Semantic Kernel Dotnet Latest