Skip to main content
Version: 0.21.x

Classify

POST 

/classify

Classify

To send a batch of requests all at once, the text field can either be a string, an array of strings, or an array of tuples of strings.

Request​

Body

required

    consumer_group stringnullable

    text

    object

    required

    oneOf

    Input Text used for ease of users not to have to use the clunky PayloadText. Mapping provided below to convert InputText to PayloadText.

Responses​

Takes in a JSON payload and returns the classification.

Schema

    result

    object

    required

    oneOf

    SequenceClassification array[]required
Loading...