Update app.py
Browse files
app.py
CHANGED
|
@@ -77,7 +77,7 @@ from langchain_text_splitters import RecursiveCharacterTextSplitter
|
|
| 77 |
text_splitter = RecursiveCharacterTextSplitter(
|
| 78 |
chunk_size=1600,
|
| 79 |
chunk_overlap=150,
|
| 80 |
-
add_start_index=True
|
| 81 |
separators=["\n\n", "\n", ". ", " ", ""]
|
| 82 |
)
|
| 83 |
def split_document_with_metadata(document):
|
|
|
|
| 77 |
text_splitter = RecursiveCharacterTextSplitter(
|
| 78 |
chunk_size=1600,
|
| 79 |
chunk_overlap=150,
|
| 80 |
+
add_start_index=True,
|
| 81 |
separators=["\n\n", "\n", ". ", " ", ""]
|
| 82 |
)
|
| 83 |
def split_document_with_metadata(document):
|