Requests the results of a queued document from the API. Throws an error if the server's response contains one.
The document's ID in the queue.
a Promise containing the parsed result.
Enqueues a prediction to the API. Throws an error if the server's response contains one.
parameters relating to prediction options.
a Promise containing queue data.
Account owning the product.
Settings relating to the API.
URL of a product.
Root of the URL for API calls.
Product's version, as a string.
Send a feedback
Send a feedback
ID of the document to send feedback to.
Feedback object to send.
ProtectedsendSend a file to a prediction API.
Sends a document to the API and parses out the result. Throws an error if the server's response contains one.
parameters relating to prediction options.
a Promise containing parsing results.
Endpoint for a product (OTS or Custom).