Skip to content

Detect Text Sentiment:

Algorithm Name: detect_sentiment

This algorithm understands the sentiments of the input text.

Input: a string of text

Output: a dictionary of features

import Aiii
c = Aiii.Client("YOUR_API_KEY")

data = {
    "data": "this is an input string"
}
algo = c.algo('algo://adamleo/detect_sentiment')
response = algo.pipe(data)