Compartilhar via


CustomSentimentAnalysisOperationAction Class

Definition

Use custom models to ease the process of sentiment analysis from documents like product reviews.

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

Constructors

CustomSentimentAnalysisOperationAction()

Initializes a new instance of CustomSentimentAnalysisOperationAction.

Properties

ActionContent

Custom Sentiment Analysis 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<CustomSentimentAnalysisOperationAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CustomSentimentAnalysisOperationAction>.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<CustomSentimentAnalysisOperationAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CustomSentimentAnalysisOperationAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CustomSentimentAnalysisOperationAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to