Skip to main content

Module operations

Module operations 

Source
Expand description

Keys of the operations the interpreter may propose.

operations deliberately has no key for proposing fields: extraction is something the application does to a document, not something a user asks for in a sentence. The command exists, the operation does not, so the interpreter cannot invent a reading of a document that nobody performed.

Constantsยง

ABANDON_REVIEW
Throw the reading away and keep the document.
ACCEPT_PROPOSAL
Accept the proposal: the proposed values become the record.
ATTACH_RECEIPT
Attach the document.
CREATE_DRAFT
Start an claim case.
DISCARD_RECEIPT
Throw the document away.
REVISE_PROPOSED_FIELD
Change one proposed value while the review is open.
SET_REFERENCE
Set the hand-typed reference, which no proposal covers.