add more vars to text splitter (#5503)

searx_updates
Harrison Chase 1 year ago committed by GitHub
parent 562fdfc8f9
commit f0ea77b230
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save