Spaces:
Runtime error
Runtime error
Commit
·
00bd9a1
1
Parent(s):
42d14f9
Update app.py
Browse files
app.py
CHANGED
|
@@ -57,7 +57,7 @@ def get_json_file(docs):
|
|
| 57 |
f.write(docs.getvalue())
|
| 58 |
f.seek(0)
|
| 59 |
json_loader = JSONLoader(temp_filepath,
|
| 60 |
-
jq_schema='.
|
| 61 |
text_content=False)
|
| 62 |
json_doc = json_loader.load()
|
| 63 |
|
|
|
|
| 57 |
f.write(docs.getvalue())
|
| 58 |
f.seek(0)
|
| 59 |
json_loader = JSONLoader(temp_filepath,
|
| 60 |
+
jq_schema='.messages[].content',
|
| 61 |
text_content=False)
|
| 62 |
json_doc = json_loader.load()
|
| 63 |
|