Predictions from documents¶
The following prediction methods are available for Document AI.
| Method | Description |
|---|---|
| UI | Upload an archive or dataset file for predictions from the UI. |
For all other types other than deployment batch predictions, you must include PDF documents as base64-encoded strings. The public API client includes a utility function to help with conversion.
| Method | Description |
|---|---|
| API | Use scripting code and base64-converted document files to make an API call and get predictions from the deployed model. The output will be a CSV file with prediction results. |
| Portable Prediction Server | Use base64-converted document files for either single-model or multi-model modes. |
| Portable Batch Predictions | Use base64-converted document files for all supported adapters (filesystem, JDBC, AWS S3, Azure Blob, GCS, Snowflake, Synapse). |