forked from Archives/langchain
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
e90654f39b
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> |
1 year ago | |
---|---|---|
.. | ||
__init__.py | 1 year ago | |
apify.py | 1 year ago | |
arxiv.py | 1 year ago | |
asyncio.py | 1 year ago | |
awslambda.py | 1 year ago | |
bash.py | 1 year ago | |
bing_search.py | 1 year ago | |
duckduckgo_search.py | 1 year ago | |
google_places_api.py | 1 year ago | |
google_search.py | 1 year ago | |
google_serper.py | 1 year ago | |
graphql.py | 1 year ago | |
jira.py | 1 year ago | |
loading.py | 1 year ago | |
metaphor_search.py | 1 year ago | |
openweathermap.py | 1 year ago | |
powerbi.py | 1 year ago | |
python.py | 1 year ago | |
scenexplain.py | 1 year ago | |
searx_search.py | 1 year ago | |
serpapi.py | 1 year ago | |
wikipedia.py | 1 year ago | |
wolfram_alpha.py | 1 year ago | |
zapier.py | 1 year ago |