SENTIMENT DETECTION

Learn the implied sentiment of a given text

Sentiment Detection icon image

// The Sentiment Detection Skill detects and labels parts of texts that have positive or negative sentiment. Large-scale sentiment analysis can be done to discover trends, understand the perception of a subject in social media, etc.

SETUP

Request

Generate sentiment 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": "sentiment", "input": "0" }

]

}

Response

Outputs a span of text and classifies it as having positive or negative sentiment.