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​
- application/json
Body
required
- MOD2
Array [
]
consumer_group stringnullable
text
object
required
oneOf
type
items string
Responses​
- 200
- 422
- 503
Takes in a JSON payload and returns the classification.
- application/json
- Schema
- Example (from schema)
Schema
result array[]required
{
"result": [
[
0
]
]
}
Malformed request body
The server is not ready to process requests yet.
Loading...