mirror of
https://github.com/Mintplex-Labs/langchain-python.git
synced 2026-07-19 13:26:32 -04:00
c7ca350cd3
In LangChain, all module classes are enumerated in the `__init__.py` file of the correspondent module. But some classes were missed and were not included in the module `__init__.py` This PR: - added the missed classes to the module `__init__.py` files - `__init__.py:__all_` variable value (a list of the class names) was sorted - `langchain.tools.sql_database.tool.QueryCheckerTool` was renamed into the `QuerySQLCheckerTool` because it conflicted with `langchain.tools.spark_sql.tool.QueryCheckerTool` - changes to `pyproject.toml`: - added `pgvector` to `pyproject.toml:extended_testing` - added `pandas` to `pyproject.toml:[tool.poetry.group.test.dependencies]` - commented out the `streamlit` from `collbacks/__init__.py`, It is because now the `streamlit` requires Python >=3.7, !=3.9.7 - fixed duplicate names in `tools` - fixed correspondent ut-s #### Who can review? @hwchase17 @dev2049
61 lines
2.4 KiB
Python
61 lines
2.4 KiB
Python
"""General utilities."""
|
|
from langchain.requests import TextRequestsWrapper
|
|
from langchain.utilities.apify import ApifyWrapper
|
|
from langchain.utilities.arxiv import ArxivAPIWrapper
|
|
from langchain.utilities.awslambda import LambdaWrapper
|
|
from langchain.utilities.bash import BashProcess
|
|
from langchain.utilities.bibtex import BibtexparserWrapper
|
|
from langchain.utilities.bing_search import BingSearchAPIWrapper
|
|
from langchain.utilities.brave_search import BraveSearchWrapper
|
|
from langchain.utilities.duckduckgo_search import DuckDuckGoSearchAPIWrapper
|
|
from langchain.utilities.google_places_api import GooglePlacesAPIWrapper
|
|
from langchain.utilities.google_search import GoogleSearchAPIWrapper
|
|
from langchain.utilities.google_serper import GoogleSerperAPIWrapper
|
|
from langchain.utilities.graphql import GraphQLAPIWrapper
|
|
from langchain.utilities.jira import JiraAPIWrapper
|
|
from langchain.utilities.max_compute import MaxComputeAPIWrapper
|
|
from langchain.utilities.metaphor_search import MetaphorSearchAPIWrapper
|
|
from langchain.utilities.openweathermap import OpenWeatherMapAPIWrapper
|
|
from langchain.utilities.powerbi import PowerBIDataset
|
|
from langchain.utilities.pupmed import PubMedAPIWrapper
|
|
from langchain.utilities.python import PythonREPL
|
|
from langchain.utilities.scenexplain import SceneXplainAPIWrapper
|
|
from langchain.utilities.searx_search import SearxSearchWrapper
|
|
from langchain.utilities.serpapi import SerpAPIWrapper
|
|
from langchain.utilities.spark_sql import SparkSQL
|
|
from langchain.utilities.twilio import TwilioAPIWrapper
|
|
from langchain.utilities.wikipedia import WikipediaAPIWrapper
|
|
from langchain.utilities.wolfram_alpha import WolframAlphaAPIWrapper
|
|
from langchain.utilities.zapier import ZapierNLAWrapper
|
|
|
|
__all__ = [
|
|
"ApifyWrapper",
|
|
"ArxivAPIWrapper",
|
|
"BashProcess",
|
|
"BibtexparserWrapper",
|
|
"BingSearchAPIWrapper",
|
|
"BraveSearchWrapper",
|
|
"DuckDuckGoSearchAPIWrapper",
|
|
"GooglePlacesAPIWrapper",
|
|
"GoogleSearchAPIWrapper",
|
|
"GoogleSerperAPIWrapper",
|
|
"GraphQLAPIWrapper",
|
|
"JiraAPIWrapper",
|
|
"LambdaWrapper",
|
|
"MaxComputeAPIWrapper",
|
|
"MetaphorSearchAPIWrapper",
|
|
"OpenWeatherMapAPIWrapper",
|
|
"PowerBIDataset",
|
|
"PubMedAPIWrapper",
|
|
"PythonREPL",
|
|
"SceneXplainAPIWrapper",
|
|
"SearxSearchWrapper",
|
|
"SerpAPIWrapper",
|
|
"SparkSQL",
|
|
"TextRequestsWrapper",
|
|
"TwilioAPIWrapper",
|
|
"WikipediaAPIWrapper",
|
|
"WolframAlphaAPIWrapper",
|
|
"ZapierNLAWrapper",
|
|
]
|