다음을 통해 공유


ExhaustiveKnnParameters Class

Definition

Contains the parameters specific to exhaustive KNN algorithm.

public class ExhaustiveKnnParameters
public class ExhaustiveKnnParameters : System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Indexes.Models.ExhaustiveKnnParameters>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Indexes.Models.ExhaustiveKnnParameters>
type ExhaustiveKnnParameters = class
type ExhaustiveKnnParameters = class
    interface IJsonModel<ExhaustiveKnnParameters>
    interface IPersistableModel<ExhaustiveKnnParameters>
Public Class ExhaustiveKnnParameters
Public Class ExhaustiveKnnParameters
Implements IJsonModel(Of ExhaustiveKnnParameters), IPersistableModel(Of ExhaustiveKnnParameters)
Inheritance
ExhaustiveKnnParameters
Implements

Constructors

ExhaustiveKnnParameters()

Initializes a new instance of ExhaustiveKnnParameters.

Properties

Metric

The similarity metric to use for vector comparisons.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ExhaustiveKnnParameters>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ExhaustiveKnnParameters>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ExhaustiveKnnParameters>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ExhaustiveKnnParameters>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ExhaustiveKnnParameters>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to