'commit'
This commit is contained in:
@@ -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')
|
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:
|
||||||
"""
|
"""
|
||||||
将文本切割成块
|
将文本切割成块
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user