add more vars to text splitter (#5503)

This commit is contained in:
Harrison Chase
2023-05-31 07:21:20 -07:00
committed by GitHub
parent 562fdfc8f9
commit f0ea77b230

View File

@@ -443,6 +443,8 @@ class RecursiveCharacterTextSplitter(TextSplitter):
"\nfunction ",
"\nconst ",
"\nlet ",
"\nvar ",
"\nclass ",
# Split along control flow statements
"\nif ",
"\nfor ",