langchain/libs
Ahmet Yasin Aytar 443b37403d
community: refactor Arxiv search logic (#27084)
PR message:

Description:
This PR refactors the Arxiv API wrapper by extracting the Arxiv search
logic into a helper function (_fetch_results) to reduce code duplication
and improve maintainability. The helper function is used in methods like
get_summaries_as_docs, run, and lazy_load, streamlining the code and
making it easier to maintain in the future.

Issue:
This is a minor refactor, so no specific issue is being fixed.

Dependencies:
No new dependencies are introduced with this change.

Add tests and docs:
No new integrations were added, so no additional tests or docs are
necessary for this PR.
Lint and test:
I have run make format, make lint, and make test to ensure all checks
pass successfully.

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
2024-10-15 08:43:03 -07:00
..
cli multiple: update docs urls to latest 2 (#26837) 2024-09-30 17:37:07 -07:00
community community: refactor Arxiv search logic (#27084) 2024-10-15 08:43:03 -07:00
core core[patch]: Ignore ASYNC110 to upgrade to newest ruff version (#27229) 2024-10-09 11:25:58 -04:00
experimental experimental: migrate to external repo (#26879) 2024-09-25 19:02:19 -07:00
langchain core[patch],langchain[patch],community[patch]: Bump version dependency of tenacity to >=8.1.0,!=8.4.0,<10 (#27201) 2024-10-09 14:00:45 +00:00
partners chroma: Deprecating versions 0.5.7 thru 0.5.12 (#27305) 2024-10-14 11:56:05 -04:00
standard-tests standard-tests: test that only one chunk sets input_tokens (#27177) 2024-10-08 11:35:32 -07:00
text-splitters Improvement[text-splitter] Fix import of ExperimentalMarkdownSyntaxTextSplitter (#26703) 2024-09-20 17:04:31 +00:00