Sentiment
  • 08 May 2025
  • 1 Minute to read
  • Contributors
  • PDF

Sentiment

  • PDF

Article summary

The emotional state of the conversations occurring in the text is evaluated as "sentiment scores".

Parameters

name
description
default
IgnoreSslErrorsignore any certificate errors if Sentiment address contains httpsfalse
LanguageThe information about the language of the text to be analyzed is transmitted through this parameter.en-US
DialogBasedEvaluate the text to be sent either as a plain text or by converting it into a dialogue format.false
PreventEmptySentimentIf true, the sentiment node will refrain from sending any event in cases where detected sentiment is neutral.false
Use Sentiment V2 IntegrationSet this parameter to true if you want to use the V2 version of the sentiment service.false

Inputs

Events

namedescriptionknown nodes that generate this event
*all events containing the 'Text' attributeSR Http

Outputs

Audio

none

Events

namedescription
sentimentA 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:

image.png

Note that the project above is `Utterance Based`. Which means each speech segment will be evaluated independently of each other.

A Dialog Based Sentiment project can be built as such:

image.png

Supported flow types: Stream, Batch

Release Notes

v4.0.0
  • Removed the address field..
v3.7.0
  • Added API V2 support and related parameter.
v1.0.0
  • Introduced node.

Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.