Spaces:
Sleeping
Sleeping
arjunanand13
commited on
Commit
•
9800dc8
1
Parent(s):
bab91e6
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ class DocumentRetrievalAndGeneration:
|
|
54 |
def split_documents(self):
|
55 |
text_splitter = RecursiveCharacterTextSplitter(chunk_size=5000, chunk_overlap=250)
|
56 |
all_splits = text_splitter.split_documents(self.documents)
|
57 |
-
print("LEN of all_splits", all_splits)
|
58 |
return all_splits
|
59 |
|
60 |
def query_and_generate_response(self, query):
|
|
|
54 |
def split_documents(self):
|
55 |
text_splitter = RecursiveCharacterTextSplitter(chunk_size=5000, chunk_overlap=250)
|
56 |
all_splits = text_splitter.split_documents(self.documents)
|
57 |
+
print("LEN of all_splits", len(all_splits))
|
58 |
return all_splits
|
59 |
|
60 |
def query_and_generate_response(self, query):
|