共用方式為


FileSearchRankingOptions Class

Definition

Ranking options for file search.

public class FileSearchRankingOptions : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.FileSearchRankingOptions>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.FileSearchRankingOptions>
type FileSearchRankingOptions = class
    interface IJsonModel<FileSearchRankingOptions>
    interface IPersistableModel<FileSearchRankingOptions>
Public Class FileSearchRankingOptions
Implements IJsonModel(Of FileSearchRankingOptions), IPersistableModel(Of FileSearchRankingOptions)
Inheritance
FileSearchRankingOptions
Implements

Constructors

FileSearchRankingOptions(String, Single)

Initializes a new instance of FileSearchRankingOptions.

Properties

Ranker

File search ranker.

ScoreThreshold

Ranker search threshold.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<FileSearchRankingOptions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<FileSearchRankingOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FileSearchRankingOptions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FileSearchRankingOptions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<FileSearchRankingOptions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to