Skip to content

Commit

Permalink
Update haystack/components/preprocessors/recursive_splitter.py
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Husch Lee <[email protected]>
  • Loading branch information
davidsbatista and sjrl authored Dec 12, 2024
1 parent a5c1f2c commit 2248135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haystack/components/preprocessors/recursive_splitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class RecursiveDocumentSplitter:
from haystack import Document
from haystack.components.preprocessors import RecursiveDocumentSplitter
chunker = RecursiveChunker(chunk_size=260, chunk_overlap=0, separators=["\n\n", "\n", ".", " "], keep_separator=True)
chunker = RecursiveDocumentSplitter(split_length=260, split_overlap=0, separators=["\n\n", "\n", ".", " "], keep_separator=True)
text = '''Artificial intelligence (AI) - Introduction
AI, in its broadest sense, is intelligence exhibited by machines, particularly computer systems.
Expand Down

0 comments on commit 2248135

Please sign in to comment.