
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
HappinessSadnessSurpriseFearAnger