Class Sentiment
Sentiment information: Score (-100 to 100) and Confidence (0 to 100)
Carrier object for Sentiment. Services for the Sentiment Carrier is available from the IAIAgent.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class Sentiment : Carrier
Constructors
Sentiment()
Default constructor
Declaration
public Sentiment()
See Also
Properties
Confidence
Sentiment analysis confidence, where available. 0 = no idea, 100 = perfectly confident, -1 = no confidence score available
Declaration
public virtual int Confidence { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
Score
Sentiment score, -100 = very unhappy, 100 = very happy, 0 = no idea (not recognized)
Declaration
public virtual int Score { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The carrier contents. |
See Also
ToString(String)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
Type | Name | Description |
---|---|---|
String | prefix | The line prefix (typically used for indenting) |
Returns
Type | Description |
---|---|
String | The carrier contents. |