This commit is contained in:
2025-08-19 08:46:31 +08:00
parent 95f1f2487e
commit 7010b0e15a

View File

@@ -15,7 +15,7 @@ warnings.filterwarnings('ignore', message='Connecting to .* using TLS with verif
warnings.filterwarnings('ignore', message='Unverified HTTPS request is being made to host')
def split_text_into_chunks(text: str, chunk_size: int = 200, chunk_overlap: int = 100) -> list:
def split_text_into_chunks(text: str, chunk_size: int = 200, chunk_overlap: int = 0) -> list:
"""
将文本切割成块