You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: remove parent_id until backwards compat bug is addressed (#252)
Original issue:
#237
Core library fix:
Unstructured-IO/unstructured#1526
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](langchain-ai/langchain#11025) 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`.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
-
## 0.0.47-dev0
1
+
## 0.0.47-dev1
2
2
3
3
***Adds `chunking_strategy` kwarg and associated params** These params allow users to "chunk" elements into larger or smaller `CompositeElement`s
4
+
***Remove `parent_id` from the element metadata**. New metadata fields are causing errors with existing installs. We'll readd this once a fix is widely available.
0 commit comments