Open
Description
Is your feature request related to a problem? Please describe.
Following up with the document hierarchy implementation, it'll be helpful to have a built-in function to group elements with the same parent_id
.
Describe the solution you'd like
Similar to chunk_by_title, but the parent type is not always a Title
.
Describe alternatives you've considered
Group elements with the same parent_id
and assign the previous element as the parent where parent_id
is None.
Additional context
n/a