SentimentResult Class

Definition

Sentiment analysis results for the input documents.

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

Properties

Documents

The sentiment analysis results for each document in the input.

Errors

Errors by document id.

ModelVersion

This field indicates which model is used for scoring.

Statistics

if showStats=true was specified in the request this field will contain information about the request payload.

Explicit Interface Implementations

IJsonModel<SentimentResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SentimentResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SentimentResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SentimentResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SentimentResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to