Delen via


DynamicClassificationActionContent Class

Definition

Supported parameters for a Dynamic Classification task.

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

Constructors

DynamicClassificationActionContent(IEnumerable<String>)

Initializes a new instance of DynamicClassificationActionContent.

Properties

Categories

a list of categories to which input is classified to.

ClassificationType

Specifies either one or multiple categories per document. Defaults to multi classification which may return more than one class for each document.

LoggingOptOut

logging opt out.

ModelVersion

model version.

Explicit Interface Implementations

IJsonModel<DynamicClassificationActionContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DynamicClassificationActionContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DynamicClassificationActionContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DynamicClassificationActionContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DynamicClassificationActionContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to