Поделиться через


DocumentSentimentLabelEvalResult Class

Definition

Represents an evaluation result Sentiment label.

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

Properties

Category

Represents the sentiment category.

Length

Represents the sentiment length.

Offset

Represents the sentiment offset index relative to the original text.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DocumentSentimentLabelEvalResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DocumentSentimentLabelEvalResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DocumentSentimentLabelEvalResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DocumentSentimentLabelEvalResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DocumentSentimentLabelEvalResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to