EMOTION DETECTION

Detect what feelings your text conveys

Emotion Detection icon image

// 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

Request

Generate emotion labels by performing a POST request to the following URL: api.oneai.com/api/v0/pipeline

{

"text": "your input text here",

"steps": [

{ "id": "1", "skill": "emotions", "input": "0" }

]

}

Response

Outputs detected emotion labels in the supplied text/conversation. Supported labels:

  • Happiness
  • Sadness
  • Surprise
  • Fear
  • Anger