OhST commited on
Commit
cbd64c4
1 Parent(s): 161ec4d

jq_schema=".messages[]"로 수정

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def get_json_file(json_docs):
39
  temp_filepath = os.path.join(temp_dir.name, json_docs.name)
40
  with open(temp_filepath, "wb") as f:
41
  f.write(json_docs.getvalue())
42
- json_loader = JSONLoader(file_path = temp_filepath, jq_schema='.messages[].content', text_content=False)
43
  json_doc = json_loader.load()
44
  return json_doc
45
 
 
39
  temp_filepath = os.path.join(temp_dir.name, json_docs.name)
40
  with open(temp_filepath, "wb") as f:
41
  f.write(json_docs.getvalue())
42
+ json_loader = JSONLoader(file_path = temp_filepath, jq_schema='.messages[].content')
43
  json_doc = json_loader.load()
44
  return json_doc
45