Emotions

Detect what feelings your text conveys
//

The Emotion Detection Skill detects emotions conveyed within texts. The results can be used to discover how people feel about certain subjects, analyze customer service calls & chat logs, and measure the objectivity of texts.

Setup

Parameters

Request

Detect emotions in text by performing a POST request to the following URL: api.oneai.com/api/v0/pipeline { "input": "your input text here", "steps": [{ "skill": "emotions" }] }

Response

Returns a list of detected emotions & the associated spans of text

Supported Labels

  • Happiness
  • Sadness
  • Surprise
  • Fear
  • Anger