Skip to main content

Sentiment Analysis - Product Review

AI categorizes text content by classifying topics or identifying responsible staff mentioned in the text.

Header Parameters
X-API-Key string REQUIRED

Your API key

Request Body REQUIRED
inputs string[]

List of sentences

Responses
200

Return list of JSON where each element is another key-value object that contains its sentence and its predicted probability of each class.

Schema
object[]
inputs string

Input sentence

results object

Results of predicted probability of each class

Positive number

Positive predicted probability

Neutral number

Neutral predicted probability

Negative number

Negative predicted probability

400

inputs not founds | Incorrect request body field (inputs)

401

Unauthorized | Incorrect X-API-Key or X-API-Key not have access to this model