mirror of
https://github.com/langchain-ai/langchain.git
synced 2026-10-05 09:25:14 +03:00
add more vars to text splitter (#5503)
This commit is contained in:
1 parent
562fdfc8f9
commit
f0ea77b230
1 file changed
+2
@@ -443,6 +443,8 @@ class RecursiveCharacterTextSplitter(TextSplitter):
|
||||
"\nfunction ",
|
||||
"\nconst ",
|
||||
"\nlet ",
|
||||
"\nvar ",
|
||||
"\nclass ",
|
||||
# Split along control flow statements
|
||||
"\nif ",
|
||||
"\nfor ",
|
||||
|
||||
Reference in new issue
Block a user