Create
Classify the text to provided categories
Query Parameters
lang string
Default value: en
Language code
multi_class boolean
When set to true the scores will be independent, each will fall between 0 and 1
application/json
Request Body required
body
classes string[]
text string
Responses
- 200
- 201
- 401
- 403
- 404
OK
application/ld+json
Schema
Example (from schema)
Schema
labels string[]
scores float[]
{
"labels": [
"string"
],
"scores": [
0
]
}
Created
Unauthorized
Forbidden
Not Found
Loading...