Classify contents
POST {{baseUrl}}/api/{{apiV1Version}}/category/document-type
Classify the type of given textual contents. 6 types of classification are supported.
Request Body
name | required | description |
---|---|---|
content | true | Paragraph to be analyzed |
Response Body
description | |
---|---|
type | The type can be one of below: * General * Contract * Research paper * Invoice * Bank statement * Utility bill |
Request Body
{"content"=>"Pyroclastic flows contain a high-density mix of hot lava blocks, pumice, ash and volcanic gas. They move at very high speed down volcanic slopes, typically following valleys, according to the USGS and destroy nearly everything in their path."}
RESPONSES
status: OK
{"type":"GENERAL"}