JinHyeong99 commited on
Commit
d09d143
Β·
1 Parent(s): 8b8f871
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def get_json_file(json_docs):
54
  f.write(json_docs.getvalue()) # Json λ¬Έμ„œμ˜ λ‚΄μš©μ„ μž„μ‹œ νŒŒμΌμ— μ”λ‹ˆλ‹€.
55
  json_loader = JSONLoader(
56
  file_path = temp_filepath,
57
- jq_schema='.[] | to_entries[] | .value[]', # λ°°μ—΄ λ‚΄ 객체의 λͺ¨λ“  값을 μΆ”μΆœ
58
  text_content=False
59
  )
60
  json_doc = json_loader.load()
 
54
  f.write(json_docs.getvalue()) # Json λ¬Έμ„œμ˜ λ‚΄μš©μ„ μž„μ‹œ νŒŒμΌμ— μ”λ‹ˆλ‹€.
55
  json_loader = JSONLoader(
56
  file_path = temp_filepath,
57
+ jq_schema='.{}.content', # λ°°μ—΄ λ‚΄ 객체의 λͺ¨λ“  값을 μΆ”μΆœ
58
  text_content=False
59
  )
60
  json_doc = json_loader.load()