arXiv Retriever
allows users to query the arXiv database for academic articles. It supports both full-document retrieval (PDF parsing) and summary-based retrieval.
For detailed documentation of all ArxivRetriever features and configurations, head to the API reference
Retriever | Source | Package |
---|---|---|
ArxivRetriever | Academic articles from arXiv | @langchain/community |
pdf-parse
for parsing PDFsfast-xml-parser
for parsing XML responses from the arXiv APIinvoke
method to search arXiv for relevant articles. You can use either natural language queries or specific arXiv IDs.
ArxivRetriever
can be incorporated into LLM applications via chains. Below is an example of using the retriever within a chain: