Skip to content

Conversation

@AIexanderDicke
Copy link

This PR

  • updates the ArXiv search functionality to use arxiv.Clientinstead of the deprecatedarxiv.Search`}
  • fixes the ArxivRetriever tests
  • fixes the file handling in lazy_load (also because the function from the arxiv lib will be deprecated)
  • adds the possibility to invoke the retriever with optional kwargs author, title, ... (see the details of query construction) to simplify the usage of the retriever.

- _fetch_result uses arxiv.Client as arxiv.Search is deprecated
- uses min(self.load_max_docs, self.top_k_results) for max_results
- lazy_load no longer uses the pdf download from the arxiv-lib, also uses a temp dir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant