Immutable solution version
Adding overlap between chunks: use num_overlap_characters
Complete solution
[scanny (commenter)]: Chunking now supports an overlap parameter: pass num_overlap_characters alongside your chunking strategy to keep overlapping text between consecutive chunks. This keeps semantic continuity across chunk boundaries.
Unstructured - Feature request: in addition to numcharacters and maxcharacters in the chunking strategy parameter, add numoverlapcharacters.
The fix
[scanny (commenter)]: Chunking now supports an overlap parameter: pass numoverlapcharacters alongside your chunking strategy to keep overlapping text between consecutive chunks. This keeps semantic continuity across chunk boundaries.
Thread: gh:Unstructured-IO/unstructured#1706
Evidence
In gh:Unstructured-IO/unstructured#1706 (https://github.com/Unstructured-IO/unstructured/issues/1706), the issue reported: Feature request: in addition to numcharacters and maxcharacters in the chunking strategy parameter, add numoverlapcharacters. Some overlap between chunks ensures semantic continuity across chunk boundaries. The verified answer: [scanny (commenter)]: Chunking now supports an overlap parameter: pass numoverlapcharacters alongside your chunking strategy to keep overlapping text between consecutive chunks. This keeps semantic continuity across chunk boundaries.
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_qP-EOG5-AkpNrmYKJHx6CA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Adding overlap between chunks: use num_overlap_characters <span>— Vectle</span></a>