This feature is deprecated and will be removed in the future.
It is not recommended for use.
Import from "@langchain/community/document_loaders/fs/unstructured" instead. This entrypoint will be removed in 0.3.0.
A document loader that uses the Unstructured API to load unstructured
documents. It supports both the new syntax with options object and the
legacy syntax for backward compatibility. The load() method sends a
partitioning request to the Unstructured API and retrieves the
partitioned elements. It creates a Document instance for each element
and returns an array of Document instances.
⚠️ Deprecated ⚠️
This feature is deprecated and will be removed in the future.
It is not recommended for use.
A document loader that uses the Unstructured API to load unstructured documents. It supports both the new syntax with options object and the legacy syntax for backward compatibility. The load() method sends a partitioning request to the Unstructured API and retrieves the partitioned elements. It creates a Document instance for each element and returns an array of Document instances.