Class GoogleCloudDialogflowV2Sentiment
The sentiment, such as positive/negative feeling or association, for a unit of analysis, such as the query text. See: https://cloud.google.com/natural-language/docs/basics#interpreting_sentiment_analysis_values for how to interpret the result.
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v3.Data
Assembly: Google.Apis.Dialogflow.v3.dll
Syntax
public class GoogleCloudDialogflowV2Sentiment : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Magnitude
A non-negative number in the [0, +inf) range, which represents the absolute magnitude of sentiment, regardless of score (positive or negative).
Declaration
[JsonProperty("magnitude")]
public virtual float? Magnitude { get; set; }
Property Value
Type | Description |
---|---|
float? |
Score
Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment).
Declaration
[JsonProperty("score")]
public virtual float? Score { get; set; }
Property Value
Type | Description |
---|---|
float? |