Update app.py
Browse files39 unmodified lines4041424344454639 unmodified linesf.write(json_docs.getvalue()) # PDF ๋ฌธ์์ ๋ด์ฉ์ ์์ ํ์ผ์ ์๋๋ค.json_loader = JSONLoader(file_path=temp_filepath,jq_schema='.messages[].content',text_content=False)json_doc = json_loader.load() # ํ ์คํธ๋ฅผ ์ถ์ถํฉ๋๋ค.return json_doc # ์ถ์ถํ ํ ์คํธ๋ฅผ ๋ฐํํฉ๋๋ค.39 unmodified lines4041424344454639 unmodified linesf.write(json_docs.getvalue()) # PDF ๋ฌธ์์ ๋ด์ฉ์ ์์ ํ์ผ์ ์๋๋ค.json_loader = JSONLoader(file_path=temp_filepath,jq_schema='.chat[].message',text_content=False)json_doc = json_loader.load() # ํ ์คํธ๋ฅผ ์ถ์ถํฉ๋๋ค.return json_doc # ์ถ์ถํ ํ ์คํธ๋ฅผ ๋ฐํํฉ๋๋ค.
app.py+1-1