Input
Table of Contents
Classes
- Base64Input
- Base64-encoded text input.
- BytesInput
- Raw bytes input.
- CommonOptions
- Common base for regular prediction options and workflow options.
- EnqueueAndParseMethodOptions
- Handles options tied to asynchronous parsing.
- FileInput
- Binary file input.
- InputSource
- Base class for input sources.
- LocalInputSource
- Base class for all input sources coming from the local machine.
- LocalResponse
- Local response loaded from a file.
- PageOptions
- Options for page handling (PDF only).
- PathInput
- Local path input.
- PredictMethodOptions
- Handles options tied to prediction method.
- PredictOptions
- Handles options tied to Predictions.
- URLInputSource
- A local or distant URL input.
- WorkflowOptions
- Handles options tied to Workflows.
Constants
- ALLOWED_MIME_TYPES = ['application/pdf', 'image/heic', 'image/png', 'image/jpg', 'image/jpeg', 'image/tiff', 'image/webp']
- List of allowed mime types for document parsing.
- KEEP_ONLY = 'KEEP_ONLY'
- Only keep the selected pages.
- MINIMUM_DELAY_SECONDS = 1.0
- MINIMUM_INITIAL_DELAY_SECONDS = 1.0
- REMOVE = 'REMOVE'
- Remove the selected pages.
Constants
ALLOWED_MIME_TYPES
List of allowed mime types for document parsing.
public
mixed
ALLOWED_MIME_TYPES
= ['application/pdf', 'image/heic', 'image/png', 'image/jpg', 'image/jpeg', 'image/tiff', 'image/webp']
KEEP_ONLY
Only keep the selected pages.
public
mixed
KEEP_ONLY
= 'KEEP_ONLY'
MINIMUM_DELAY_SECONDS
public
mixed
MINIMUM_DELAY_SECONDS
= 1.0
MINIMUM_INITIAL_DELAY_SECONDS
public
mixed
MINIMUM_INITIAL_DELAY_SECONDS
= 1.0
REMOVE
Remove the selected pages.
public
mixed
REMOVE
= 'REMOVE'