Partilhar via


CustomSingleLabelClassificationOperationAction Class

Definition

Use custom models to classify text into single label taxonomy.

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

Constructors

CustomSingleLabelClassificationOperationAction()

Initializes a new instance of CustomSingleLabelClassificationOperationAction.

Properties

ActionContent

Task parameters.

Name

task name.

(Inherited from AnalyzeTextOperationAction)

Explicit Interface Implementations

IJsonModel<AnalyzeTextOperationAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from AnalyzeTextOperationAction)
IJsonModel<AnalyzeTextOperationAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from AnalyzeTextOperationAction)
IJsonModel<CustomSingleLabelClassificationOperationAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CustomSingleLabelClassificationOperationAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AnalyzeTextOperationAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from AnalyzeTextOperationAction)
IPersistableModel<AnalyzeTextOperationAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from AnalyzeTextOperationAction)
IPersistableModel<AnalyzeTextOperationAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from AnalyzeTextOperationAction)
IPersistableModel<CustomSingleLabelClassificationOperationAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CustomSingleLabelClassificationOperationAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CustomSingleLabelClassificationOperationAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to