Update file_operations.py

Error notation. In the split_file function, line 43, text->content.
pull/1637/head
yueliu1999 2023-04-16 00:52:54 +08:00 committed by GitHub
parent 793ea4d893
commit 58eb0b37b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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,