mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-03 03:59:42 +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:
@@ -1 +1,6 @@
|
|||||||
|
from langchain_community.tools.arxiv.tool import ArxivQueryRun
|
||||||
|
|
||||||
"""Arxiv API toolkit."""
|
"""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."""
|
"""Semantic Scholar API toolkit."""
|
||||||
|
"""Tool for the Semantic Scholar Search API."""
|
||||||
|
|
||||||
|
__all__ = ["SemanticScholarQueryRun"]
|
||||||
|
Reference in New Issue
Block a user