Skip to content

Feature (TokenTextCplitter): Add overlapping function for text segmentation #2123 #3780

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zjxzjw
Copy link

@zjxzjw zjxzjw commented Jul 10, 2025

  • Add the OverlapSize field in the TokenTextCplitter class to set the overlap size between blocks
  • Modify the splitText method to support generating text blocks with overlap
  • Add relevant test cases in the test class to verify the correctness of overlapping functions
  • Relevant unit tests have been provided
  • Issue Support for Text Chunking with Overlap in TokenTextSplitter #2123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant