Share via


ConfidenceScoreThresholdOverride Class

Definition

Confidence score threshold override for a specific PII category.

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

Constructors

Name Description
ConfidenceScoreThresholdOverride(PiiCategoriesExclude, Single)

Initializes a new instance of ConfidenceScoreThresholdOverride.

Properties

Name Description
Entity

The PII category for which to override the confidence score threshold.

Language

The 2 letter ISO 639-1 language for which the override applies. If not specified, the override applies to all languages.

Value

The confidence score threshold for the specified PII category.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

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

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

IJsonModel<ConfidenceScoreThresholdOverride>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConfidenceScoreThresholdOverride>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ConfidenceScoreThresholdOverride>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ConfidenceScoreThresholdOverride>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to