Anyone who calls partition_via_api will hit this bug until they upgrade unstructured, which includes any Langchain users of UnstructuredAPIFileLoader. The immediate fix is to remove parent_id from the hosted api. Next, we can ensure that langchain users are up to date. Finally, the core library fix above will address any new fields going forward. It will be safe to readd the parent_id once users are generally on unstructured>=0.10.15.
Original issue: https://github.com/Unstructured-IO/unstructured-api/issues/237 Core library fix: https://github.com/Unstructured-IO/unstructured/pull/1526
Anyone who calls
partition_via_api
will hit this bug until they upgradeunstructured
, which includes any Langchain users ofUnstructuredAPIFileLoader
. The immediate fix is to removeparent_id
from the hosted api. Next, we can ensure that langchain users are up to date. Finally, the core library fix above will address any new fields going forward. It will be safe to readd theparent_id
once users are generally onunstructured>=0.10.15
.