Keep new lines
#5
by
do-me
- opened
Removing new lines by default is not a good idea as they are one of the most crucial semantic delimiters for text chunkers that are required for semantic search. Please see these two issues of two of the best chunkers out there at the moment:
- https://github.com/umarbutler/semchunk/issues/8
- https://github.com/benbrandt/text-splitter/issues/184
So it would be great to have them included by default. For any other tasks that require removing them, I would argue that it's best done afterwards as it requires very little effort.