Show / Hide Table of Contents

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 AI Agent.
Inheritance
object
Sentiment
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.7.0.0")]
public class Sentiment : Carrier

Constructors

Sentiment()

Default constructor

Declaration
public Sentiment()
See Also
IAIAgent

Properties

Confidence

Sentiment analysis confidence, where available. 0 = no idea, 100 = perfectly confident, -1 = no confidence score available

Declaration
[DataMember]
public virtual int Confidence { get; set; }
Property Value
Type Description
int
See Also
IAIAgent

Score

Sentiment score, -100 = very unhappy, 100 = very happy, 0 = no idea (not recognized)

Declaration
[DataMember]
public virtual int Score { get; set; }
Property Value
Type Description
int
See Also
IAIAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
IAIAgent

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.

See Also
IAIAgent

See Also

IAIAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top