Merge pull request #1637 from yueliu1999/master

Error notation in the split_file function in file_operations.py
This commit is contained in:
Richard Beales
2023-04-15 18:47:51 +01:00
committed by GitHub

View File

@@ -40,7 +40,7 @@ def split_file(
Split text into chunks of a specified maximum length with a specified overlap
between chunks.
:param text: The input text to be split into chunks
:param content: The input text to be split into chunks
:param max_length: The maximum length of each chunk,
default is 4000 (about 1k token)
:param overlap: The number of overlapping characters between chunks,