simplified nmspace (#8152)

recreated #7894 (it is easy to recreate than resolve conflicts)
A small refactoring to improve the API Reference Agents table
 @baskaryan
This commit is contained in:
Leonid Ganeline 2023-07-23 18:02:20 -07:00 committed by GitHub
parent c5b50be225
commit 670304a8b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 29 deletions

View File

@ -1,6 +1,6 @@
"""Agent toolkits.""" """Agent toolkits."""
from langchain.agents.agent_toolkits.amadeus.toolkit import AmadeusToolkit from langchain.agents.agent_toolkits.amadeus.toolkit import AmadeusToolkit
from langchain.agents.agent_toolkits.azure_cognitive_services.toolkit import ( from langchain.agents.agent_toolkits.azure_cognitive_services import (
AzureCognitiveServicesToolkit, AzureCognitiveServicesToolkit,
) )
from langchain.agents.agent_toolkits.csv.base import create_csv_agent from langchain.agents.agent_toolkits.csv.base import create_csv_agent
@ -40,33 +40,33 @@ from langchain.agents.agent_toolkits.zapier.toolkit import ZapierToolkit
__all__ = [ __all__ = [
"AmadeusToolkit", "AmadeusToolkit",
"AzureCognitiveServicesToolkit",
"FileManagementToolkit",
"GmailToolkit",
"JiraToolkit",
"JsonToolkit",
"NLAToolkit",
"O365Toolkit",
"OpenAPIToolkit",
"PlayWrightBrowserToolkit",
"PowerBIToolkit",
"SQLDatabaseToolkit",
"SparkSQLToolkit",
"VectorStoreInfo",
"VectorStoreRouterToolkit",
"VectorStoreToolkit",
"ZapierToolkit",
"create_csv_agent",
"create_json_agent", "create_json_agent",
"create_sql_agent",
"create_openapi_agent", "create_openapi_agent",
"create_pandas_dataframe_agent",
"create_pbi_agent", "create_pbi_agent",
"create_pbi_chat_agent", "create_pbi_chat_agent",
"create_python_agent", "create_python_agent",
"create_vectorstore_agent",
"JsonToolkit",
"SQLDatabaseToolkit",
"SparkSQLToolkit",
"NLAToolkit",
"PowerBIToolkit",
"OpenAPIToolkit",
"VectorStoreToolkit",
"create_vectorstore_router_agent",
"VectorStoreInfo",
"VectorStoreRouterToolkit",
"create_pandas_dataframe_agent",
"create_spark_dataframe_agent", "create_spark_dataframe_agent",
"create_spark_sql_agent", "create_spark_sql_agent",
"create_csv_agent", "create_sql_agent",
"ZapierToolkit", "create_vectorstore_agent",
"GmailToolkit", "create_vectorstore_router_agent",
"JiraToolkit",
"FileManagementToolkit",
"PlayWrightBrowserToolkit",
"AzureCognitiveServicesToolkit",
"O365Toolkit",
"create_xorbits_agent", "create_xorbits_agent",
] ]

View File

@ -1,7 +0,0 @@
"""Azure Cognitive Services Toolkit."""
from langchain.agents.agent_toolkits.azure_cognitive_services.toolkit import (
AzureCognitiveServicesToolkit,
)
__all__ = ["AzureCognitiveServicesToolkit"]