mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-21 14:18:52 +00:00
community: Standardise tool import for arxiv & semantic scholar (#23578)
- **Description:** Fixing the way users have to import Arxiv and Semantic Scholar - **Issue:** Changed to use `from langchain_community.tools.arxiv import ArxivQueryRun` instead of `from langchain_community.tools.arxiv.tool import ArxivQueryRun` - **Dependencies:** None - **Twitter handle:** Nope
This commit is contained in:
parent
d04f657424
commit
5e6d23f27d
@ -1 +1,6 @@
|
||||
from langchain_community.tools.arxiv.tool import ArxivQueryRun
|
||||
|
||||
"""Arxiv API toolkit."""
|
||||
"""Tool for the Arxiv Search API."""
|
||||
|
||||
__all__ = ["ArxivQueryRun"]
|
||||
|
@ -1 +1,6 @@
|
||||
from langchain_community.tools.semanticscholar.tool import SemanticScholarQueryRun
|
||||
|
||||
"""Semantic Scholar API toolkit."""
|
||||
"""Tool for the Semantic Scholar Search API."""
|
||||
|
||||
__all__ = ["SemanticScholarQueryRun"]
|
||||
|
Loading…
Reference in New Issue
Block a user