Send the document to an asynchronous endpoint and return its ID in the queue.
file or URL to parse.
parameters relating to prediction options.
a Promise
containing the job (queue) corresponding to a document.
Retrieves an inference.
id of the queue to poll.
a Promise
containing a Job
, which also contains a Document
if the
parsing is complete.
Get the status of an inference that was previously enqueued. Can be used for polling.
id of the queue to poll.
a Promise
containing a Job
, which also contains a Document
if the
parsing is complete.
options for the initialization of a client.
Protected
mindeeMindee API handler.
Load an input source from a base64 encoded string.
input content, as a string.
file name.
Load an input source from a Buffer.
input content, as a buffer.
file name.
Load an input source from bytes.
input content, as a Uint8Array or Buffer.
file name.
Load an input source from a stream.Readable
object.
input content, as a readable stream.
file name.
Send a document to an endpoint and poll the server until the result is sent or until the maximum number of tries is reached.
document to parse.
parameters relating to prediction options.
a Promise
containing parsing results.
Mindee Client V2 class that centralizes most basic operations.