Udostępnij za pośrednictwem


ConversationPiiActionContent Class

Definition

Supported parameters for a conversational pii task.

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

Constructors

ConversationPiiActionContent()

Initializes a new instance of ConversationPiiActionContent.

Properties

ExcludePiiCategories

List of categories that need to be excluded instead of included.

LoggingOptOut

logging opt out.

ModelVersion

model version.

PiiCategories

Array of ConversationPIICategories.

RedactAudioTiming

Flag to indicate if response should include audio stream offset and duration for any detected entities to be redacted. By default, audio timing of redacted entities are not included.

RedactionCharacter

Optional parameter to use a Custom Character to be used for redaction in PII responses. Default character will be * as before. We allow specific ascii characters for redaction.

RedactionSource

For transcript conversations, this parameter provides information regarding which content type (ITN, Text, Lexical, Masked ITN) should be used for entity detection. The details of the entities detected - like the offset, length and the text itself - will correspond to the text type selected here.

Explicit Interface Implementations

IJsonModel<ConversationPiiActionContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ConversationPiiActionContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConversationPiiActionContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ConversationPiiActionContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ConversationPiiActionContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to