diff --git a/haystack/components/preprocessors/recursive_splitter.py b/haystack/components/preprocessors/recursive_splitter.py index 022f4db028..5511ccd3b0 100644 --- a/haystack/components/preprocessors/recursive_splitter.py +++ b/haystack/components/preprocessors/recursive_splitter.py @@ -124,7 +124,7 @@ def _apply_overlap(self, chunks: List[str]) -> List[str]: if overlap == chunks[idx - 1]: logger.warning( "Overlap is the same as the previous chunk. " - "Consider increasing the `split_overlap` parameter or decreasing the `split_length` parameter." + "Consider increasing the `split_length` parameter or decreasing the `split_overlap` parameter." ) current_chunk = overlap + chunk overlapped_chunks.append(current_chunk)