4.3.3 Classification Processing Service

This topic describes about the payload details for the document classification model processing service.

Input Payload

Table 4-10 Input Payload

Name in Type Required Remarks
modelPath formData string true The path to the classification model.
file formData File true The text file which must be classified.
  • name: " modelPath"

    in: "formData"

    type: string

    required: true

  • name: " file "

    in: "formData"

    type: file

    required: true

Output Payload

 {
  "data": {
   "docType": "string"
  }
}

Output Payload Data Model Definition

MltbNlpDTO:
type: object
properties:
data:
properties:
docType:
type: string