Changelog
Changelog - 2.58.0
Released on
Comments
- Add new filter
sentiments_filter
for TQL and Dataset routes.- Using this filter will reduce the computation time.
- Will filter documents based on :
- the mean of
document_{sentiment}
value forpositive
,negative
andneutral
sentiment. (ordocument_{sentiment}
if not present) - the
document_{sentiment}
value forpolarity
.
- the mean of
- Can take a min/max values (you can use one or both).
- Example:
Payload
{
// other fields
"sentiments_filter": {
"positive": {
"min": 0.5,
"max": 0.7
},
}
}