updates
Browse files
app.py
CHANGED
@@ -106,7 +106,7 @@ Here is the output schema:
|
|
106 |
data_loader = JSONLoader(file_path="document.json",
|
107 |
jq_schema='.',text_content=False)
|
108 |
data = data_loader.load()
|
109 |
-
data = [doc.page_content for doc in data]
|
110 |
|
111 |
splitter = CharacterTextSplitter(chunk_size=2, chunk_overlap=1)
|
112 |
documents = splitter.split_documents(data)
|
|
|
106 |
data_loader = JSONLoader(file_path="document.json",
|
107 |
jq_schema='.',text_content=False)
|
108 |
data = data_loader.load()
|
109 |
+
# data = [doc.page_content for doc in data]
|
110 |
|
111 |
splitter = CharacterTextSplitter(chunk_size=2, chunk_overlap=1)
|
112 |
documents = splitter.split_documents(data)
|