Text Classification (Deprecated)

This classifies texts based on positivity and negativity with scores for each class.

The Text Classification API is a robust tool designed to analyze and classify textual data based on positivity and negativity. This API assigns scores to each class, indicating the degree of positivity or negativity present in the provided text.

Pricing

Requests made to the Text Classification API are billed. Prices are based on the number of characters sent to the service to be classified.

The pricing for API requests is as follows:

  • Per Request Cost: 3 units base cost per request.

POST https://api.autogon.ai/api/v1/services/text-classification/

Headers

NameTypeDescription

Content-Type*

String

application/json

Request Body

NameTypeDescription

text*

String

Text to be classified

[
    {
        "label": "POSITIVE",
        "score": 0.465040385723114
    },
    {
        "label": "NEGATIVE",
        "score": 0.534959614276886
    }
]

Last updated