Page Properties | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||
Resources & Remarks Modification History
|
As of Version | product version 2021 Autumn | component version 0.32022 Winter | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Request Method | POST | |||||||||||||
Response Format | HTTP status code | |||||||||||||
Description |
After the classification is done and the predicted document types are shown to the user, the user decides which one is the actual correct type and store stores it. It is important to send the chosen document type back to the AI engine inform the ML Pipeline about this decision in order to improve future predictions by calling this feedback endpoint. In the JSON request body, the following parameters are expected:
Meaning of HTTP status codes:
If an error is thrown, it will be a JSON structure is returned as response body. | |||||||||||||
Request Header | Content-Type: application/json X-ID-TENANT-NAME: tenant_name | |||||||||||||
Request Example | /predict-api/api/classification/feedback
| |||||||||||||
Result Example | (1) Successful
(2) Not succelful:
|
...