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