Share via


ConfidenceScoreThreshold Class

Definition

Configuration for confidence score threshold for PII entity recognition.

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

Constructors

Name Description
ConfidenceScoreThreshold(Single)

Initializes a new instance of ConfidenceScoreThreshold.

Properties

Name Description
Default

Minimum confidence score threshold for the PII entities to be returned in the response. Entities with a confidence score below this threshold will be filtered out. Value should be between 0.0 and 1.0.

Overrides

List of confidence score threshold overrides for specific PII categories.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ConfidenceScoreThreshold>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ConfidenceScoreThreshold>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConfidenceScoreThreshold>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ConfidenceScoreThreshold>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ConfidenceScoreThreshold>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to