Update app.py
Browse files
app.py
CHANGED
|
@@ -75,8 +75,8 @@ data = loader.load()
|
|
| 75 |
# (If you find that key fields are getting split, consider implementing a custom splitter.)
|
| 76 |
from langchain_text_splitters import RecursiveCharacterTextSplitter
|
| 77 |
text_splitter = RecursiveCharacterTextSplitter(
|
| 78 |
-
chunk_size=
|
| 79 |
-
chunk_overlap=
|
| 80 |
add_start_index=True
|
| 81 |
)
|
| 82 |
def split_document_with_metadata(document):
|
|
|
|
| 75 |
# (If you find that key fields are getting split, consider implementing a custom splitter.)
|
| 76 |
from langchain_text_splitters import RecursiveCharacterTextSplitter
|
| 77 |
text_splitter = RecursiveCharacterTextSplitter(
|
| 78 |
+
chunk_size=1700,
|
| 79 |
+
chunk_overlap=200,
|
| 80 |
add_start_index=True
|
| 81 |
)
|
| 82 |
def split_document_with_metadata(document):
|