langchain
langchain copied to clipboard
Arxiv Search Integration
In response to #1269, I added an integration using the ArXiv unofficial SDK.
I don't think it's necessary to use the actual ArXiv API, as lukasschwab's wrapper seems active atm.
Any feedback on the string-like representation is welcome; see line.
Seems like the lint errors on langchain/utilities/arxiv_search.py:53:20 are due to the import try/except used to check if the SDK is installed.
@stepp1 btw it's also possible to get something similar with SearxSearch by passing the engines=['arxiv'] param
Thanks for the info. I'll give it a try.
If it works nicely, maybe we drop this and in favor of adding a notebook with some examples.
The issue is you have to pretty much use a self hosted instance of searx as the public ones don't offer API access. So I still think it would be nice to have this one as well.
landed in #3186!