mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-19 23:14:25 +01:00
whitespace
This commit is contained in:
@@ -56,6 +56,7 @@ def split_file(
|
|||||||
"""
|
"""
|
||||||
Split text into chunks of a specified maximum length with a specified overlap
|
Split text into chunks of a specified maximum length with a specified overlap
|
||||||
between chunks.
|
between chunks.
|
||||||
|
|
||||||
:param content: 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,
|
:param max_length: The maximum length of each chunk,
|
||||||
default is 4000 (about 1k token)
|
default is 4000 (about 1k token)
|
||||||
|
|||||||
Reference in New Issue
Block a user