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.
It accepts either a filepath or an object containing a buffer and a filename
as input.
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.
It accepts either a filepath or an object containing a buffer and a filename as input.