The sentimentd should add the sentiment analysis result like that:
"sentiment": [
{
"brain": "skynet",
"class": "positive",
"probability": 0.125
},
{
"brain": "skynet",
"class": "negative",
"probability": 0.036
},
{
"brain": "genesys",
"class": "fear",
"probability": 0.5
},
{
"brain": "genesys",
"class": "love",
"probability": 0.7
},
{
"brain": "genesys",
"class": "happiness",
"probability": 0.22
}
]
The
sentimentdshould add the sentiment analysis result like that: