Skip to main content

Unstructured

Unstructured helps you get your data ready for AI by transforming it into a format that large language models can understand. Easily connect your data to LLMs.

Connecting Unstructured

Getting your API Key

Log in to Unstructured and navigate to API keys from the left sidebar:

Click "Generate New Key" then enter a name for your key. After creating your key, copy it for the next step.

Adding the Unstructured service

Now you're ready to configure your Unstructured service. Log in to your project then click "Connect Service" on the dashboard page. Click "Unstructured" to start configuring your service.

Paste in your API Key and click Save.

Configuring Partitioning

At the bottom of the service configuration you can configure partitioning for files that are uploaded to the Asset library. By default, all PDF files will be partitioned using Unstructured's fast strategy. To configure additional file types click on the plus button and another configuration entry. The "Match" field is a glob which is evaluated on the asset file name to determine whether to process it with the specified setttings. When there are multiple partitioning configurations they are matched in order, so you should put more specific configurations first. For example, you can configure special-report-*.pdf to use the hi_res strategy and *.pdf to use the fast.