panda47 commited on
Commit
3f137dc
·
1 Parent(s): 58a22e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def get_json_file(json_docs):
51
  temp_dir = tempfile.TemporaryDirectory()
52
  json_loader=JSONLoader(
53
  temp_filepath = os.path.join(temp_dir.name, json_docs.name),
54
- jq_schema='users[].lastName',
55
  text_content=False
56
  )
57
  with open(temp_filepath, "wb") as f:
 
51
  temp_dir = tempfile.TemporaryDirectory()
52
  json_loader=JSONLoader(
53
  temp_filepath = os.path.join(temp_dir.name, json_docs.name),
54
+ jq_schema='.messages[].content',
55
  text_content=False
56
  )
57
  with open(temp_filepath, "wb") as f: