options for the initialization of a client.
Enqueues a product inference job without waiting for completion.
Enqueue a request and poll the server until the result is sent or until the maximum number of tries is reached.
the product to retrieve.
file or URL to parse.
parameters relating to prediction options.
OptionalpollingOptions: PollingOptionsConstructor
options for the polling loop, see PollingOptions.
a Promise containing parsing results.
Get the processing status of a previously enqueued request. 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.
Retrieves the result of a previously enqueued request. This method is used when manually polling the server for the result URL.
the product to retrieve.
URL as given in the getJob() response.
a Promise containing the inference.
ProtectedpollProtected
Send a document to an endpoint and poll the server until the result is sent or until the maximum number of tries is reached.
Searches for resources matching the given criteria.
a Promise containing the search response.
Mindee Client V2 class that centralizes most basic operations.