langchain icon indicating copy to clipboard operation
langchain copied to clipboard

Arxiv Search Integration

Open stepp1 opened this issue 2 years ago • 4 comments

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.

stepp1 avatar Feb 26 '23 06:02 stepp1

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 avatar Feb 26 '23 06:02 stepp1

@stepp1 btw it's also possible to get something similar with SearxSearch by passing the engines=['arxiv'] param

blob42 avatar Mar 03 '23 10:03 blob42

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.

stepp1 avatar Mar 03 '23 17:03 stepp1

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.

blob42 avatar Mar 03 '23 17:03 blob42

landed in #3186!

dev2049 avatar May 18 '23 23:05 dev2049