Skip to content
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

fix: Consider chunkOverlap in TextSplitter #640

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

Conversation

FaFre
Copy link

@FaFre FaFre commented Jan 16, 2025

Until now the chunkOverlap parameter did not have any effect :)

Ported the logic from following source file: https://api.python.langchain.com/en/latest/_modules/langchain_text_splitters/base.html#TextSplitter

@davidmigloz
Copy link
Owner

ohh good catch! 😅
would you mind including a test?

@davidmigloz davidmigloz added c:doc-transformers Document transformers. p:langchain langchain package. t:bug Something isn't working labels Jan 27, 2025
@davidmigloz davidmigloz added this to the Next release milestone Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:doc-transformers Document transformers. p:langchain langchain package. t:bug Something isn't working
Projects
Status: 📋 Backlog
Development

Successfully merging this pull request may close these issues.

2 participants