This page was recently updated. What do you think about it? Let us know!.

Batch process all your records to store structured outputs locally.

You will need the local destination connector dependencies:

CLI, Python
pip install unstructured-ingest

To use the local destination connector, you must set --output-dir (CLI) or output_dir (Python) to the path in the local filesystem which will contain the structured output.

These environment variables:

  • UNSTRUCTURED_API_KEY - Your Unstructured API key value.
  • UNSTRUCTURED_API_URL - Your Unstructured API URL.

Now call the Unstructured Ingest CLI or the Unstructured Ingest Python library. The source connector can be any of the ones supported.

The following 3-minute video shows how to use the Unstructured Ingest Python library to send multiple PDFs from a local directory in batches to be ingested by Unstructured API services for processing:

This example uses the local source connector: