reportDocument

Task<StringreportDocument(@NonNull() Document document, @Nullable() String summary, @Nullable() String description)

Sends an error report for the given document to Gini. If the processing result for a document was not satisfactory (e.g. extractions where empty or incorrect), you can create an error report for a document. This allows Gini to analyze and correct the problem that was found. The owner of this document must agree that Gini can use this document for debugging and error analysis.

Return

A Task which will resolve to an error ID. This is a unique identifier for your error report and can be used to refer to the reported error towards the Gini support.

Parameters

document

The erroneous document.

summary

Optional a short summary of the occurred error.

description

Optional a more detailed description of the occurred error.