REQUIRED |
KEY |
TYPE |
DESCRIPTION |
Yes |
deploymentToken |
str |
The deployment token to authenticate access to created deployments. This token is only authorized to predict on deployments in this project, so it is safe to embed this model inside of an application or website.
|
Yes |
deploymentId |
str |
The unique identifier to a deployment created under the project.
|
No |
pdf |
bytes |
(Optional) The pdf to predict on. One of pdf or docId must be specified.
|
No |
docId |
str |
(Optional) The pdf to predict on. One of pdf or docId must be specified.
|
No |
returnExtractedFeatures |
bool |
(Optional) If True, will return all extracted features (e.g. all tokens in a page) from the PDF. Default is False.
|
No |
verbose |
bool |
(Optional) If True, will return all the extracted tokens probabilities for all the trained labels. Default is False.
|
No |
saveExtractedFeatures |
bool |
(Optional) If True, will save extracted features (i.e. page tokens) so that they can be fetched using the prediction docId. Default is False.
|
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.