Files
langchain/langchain
Steve Kim e90654f39b Added cleaning up the downloaded PDF files (#4601)
ArxivAPIWrapper searches and downloads PDFs to get related information.
But I found that it doesn't delete the downloaded file. The reason why
this is a problem is that a lot of PDF files remain on the server. For
example, one size is about 28M.
So, I added a delete line because it's too big to maintain on the
server.

# Clean up downloaded PDF files
- Changes: Added new line to delete downloaded file
- Background: To get the information on arXiv's paper, ArxivAPIWrapper
class downloads a PDF.
It's a natural approach, but the wrapper retains a lot of PDF files on
the server.
- Problem: One size of PDFs is about 28M. It's too big to maintain on a
small server like AWS.
- Dependency: import os

Thank you.

---------

Co-authored-by: Dev 2049 <dev.dev2049@gmail.com>
2023-05-16 17:26:56 -07:00
..
2023-05-16 20:04:09 +00:00
2023-05-16 13:26:43 +00:00
2023-05-15 15:38:49 +00:00
2023-04-24 19:54:15 -07:00
2022-11-12 11:22:32 -08:00
2023-05-11 01:27:58 -07:00
2023-02-20 21:15:45 -08:00
2023-05-16 13:26:43 +00:00
2023-05-04 20:46:38 -07:00
2023-05-14 10:29:17 -07:00