The emotional state of the conversations occurring in the text is evaluated as "sentiment scores".
Parameters
name |
description | default |
---|---|---|
IgnoreSslErrors | ignore any certificate errors if Sentiment address contains https | false |
Language | The information about the language of the text to be analyzed is transmitted through this parameter. | en-US |
DialogBased | Evaluate the text to be sent either as a plain text or by converting it into a dialogue format. | false |
PreventEmptySentiment | If true, the sentiment node will refrain from sending any event in cases where detected sentiment is neutral. | false |
Sentiment API Version | Set this parameter to V2 if you want slower but more accurate results. | V1 |
Inputs
Events
name | description | known nodes that generate this event |
---|---|---|
* | all events containing the 'Text' attribute | SR Http |
Outputs
Audio
none
Events
name | description |
---|---|
Sentiment | A sentiment event is raised once for each separate input event with a Text field. |
Remarks
This node can work in one of two modes:
Utterance Based
Analyses each incoming event independently.
Dialog Based
Collects input events from multiple channels/speakers and treats them as a dialog. Output contains dialog information.
Project Structure
A minimal project that utilizes Sentiment node can be built as such:
A Dialog Based
Sentiment project can be built as such:
Supported flow types: Stream, Batch