Compartilhar via


TextSentimentAnalysisInput Class

Definition

Contains the analyze text SentimentAnalysis task input.

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

Constructors

TextSentimentAnalysisInput()

Initializes a new instance of TextSentimentAnalysisInput.

Properties

ActionContent

Sentiment Analysis task parameters.

TextInput

Contains the input documents.

Explicit Interface Implementations

IJsonModel<AnalyzeTextInput>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from AnalyzeTextInput)
IJsonModel<TextSentimentAnalysisInput>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TextSentimentAnalysisInput>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AnalyzeTextInput>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from AnalyzeTextInput)
IPersistableModel<TextSentimentAnalysisInput>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TextSentimentAnalysisInput>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TextSentimentAnalysisInput>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to