Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ def get_json_file(json_docs):
|
|
| 37 |
f.write(json_docs.getvalue())
|
| 38 |
json_loader = JSONLoader(
|
| 39 |
file_path=temp_filepath,
|
| 40 |
-
jq_schema='.
|
| 41 |
text_content=False)
|
| 42 |
json_doc = json_loader.load()
|
| 43 |
return json_doc
|
|
|
|
| 37 |
f.write(json_docs.getvalue())
|
| 38 |
json_loader = JSONLoader(
|
| 39 |
file_path=temp_filepath,
|
| 40 |
+
jq_schema='.messages[].content',
|
| 41 |
text_content=False)
|
| 42 |
json_doc = json_loader.load()
|
| 43 |
return json_doc
|