This page provides some examples of accessing Unstructured by using the Unstructured Ingest CLI and the Unstructured Ingest Python library.
hi_res
strategy supports different models, and the default is layout_v1.1.0
.
Ingest CLI
Ingest Python
yolox
.
languages
parameter.
View the list of available languages.
Ingest CLI
Ingest Python
coordinates
parameter to true
to add this field to the elements in the response.
Ingest CLI
Ingest Python
unique_element_ids=true
. Note: this means that the element IDs
will be random, so with every partition of the same file, you will get different IDs.
This can be helpful if you’d like to use the IDs as a primary key in a database, for example.
Ingest CLI
Ingest Python
chunking_strategy
parameter.
By default, the chunking_strategy
is set to None
, and no chunking is performed.
Ingest CLI
Ingest Python