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.
langchain/langchain/utilities
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>
1 year ago
..
__init__.py [Feature] Add GraphQL Query Tool (#4409) 1 year ago
apify.py Harrison/apify (#2215) 1 year ago
arxiv.py Added cleaning up the downloaded PDF files (#4601) 1 year ago
asyncio.py Feature: AgentExecutor execution time limit (#2399) 1 year ago
awslambda.py Lambda Tool (#3842) 1 year ago
bash.py Remove Pexpect Dependency (#3667) 1 year ago
bing_search.py Harrison/add to search (#778) 1 year ago
duckduckgo_search.py WIP: FLARE-inspired chain (#4612) 1 year ago
google_places_api.py Harrison/google places (#3207) 1 year ago
google_search.py feat #1915 support for google custom search site restricted api (#1920) 1 year ago
google_serper.py WIP: FLARE-inspired chain (#4612) 1 year ago
graphql.py [Feature] Add GraphQL Query Tool (#4409) 1 year ago
jira.py Change in method name for creating an issue on JIRA (#3307) 1 year ago
loading.py fix: testing in Windows and add missing dev dependency (#2340) 1 year ago
metaphor_search.py Harrison/metaphor search (#4657) 1 year ago
openweathermap.py Correct instruction to use openweathermap utility in docstring (#2906) 1 year ago
powerbi.py Tweaks to the PowerBI toolkit and utility (#4442) 1 year ago
python.py option for csv agent to not include df in prompt (#4610) 1 year ago
scenexplain.py Update some Tools Docs (#3913) 1 year ago
searx_search.py feat: category support for SearxSearchWrapper (#2271) 1 year ago
serpapi.py Revert "Make serpapi base url configurable via env (#4402)" (#4750) 1 year ago
wikipedia.py Harrison/wiki loader (#4765) 1 year ago
wolfram_alpha.py Harrison/errors (#1276) 1 year ago
zapier.py Add Zapier NLA OAuth access_token to be used (#2726) 1 year ago