Share via


SentimentConfidenceScores Class

Definition

Represents the confidence scores between 0 and 1 across all sentiment classes: positive, neutral, negative.

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

Properties

Negative

Confidence score for negative sentiment.

Neutral

Confidence score for neutral sentiment.

Positive

Confidence score for positive sentiment.

Explicit Interface Implementations

IJsonModel<SentimentConfidenceScores>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SentimentConfidenceScores>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SentimentConfidenceScores>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SentimentConfidenceScores>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SentimentConfidenceScores>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to