Karin0616 commited on
Commit
4ab0dae
·
1 Parent(s): 7b6d605
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -55,8 +55,7 @@ def get_json_file(docs):
55
  f.write(docs.getvalue())
56
  json_loader = JSONLoader(
57
  file_path=temp_filepath,
58
- jq_schema='.',
59
- json_lines=True,
60
  text_content=False)
61
  json_doc = json_loader.load()
62
 
 
55
  f.write(docs.getvalue())
56
  json_loader = JSONLoader(
57
  file_path=temp_filepath,
58
+ jq_schema='.messages[]',
 
59
  text_content=False)
60
  json_doc = json_loader.load()
61