From f7cb2af5f40c958ac1b3d6ba243170ef627dbb6e Mon Sep 17 00:00:00 2001 From: Zander Chase <130414180+vowelparrot@users.noreply.github.com> Date: Sun, 30 Apr 2023 19:22:21 -0700 Subject: [PATCH] Export StructuredTool at `/tools` (#3858) --- langchain/tools/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/langchain/tools/__init__.py b/langchain/tools/__init__.py index 377125ff..eb51a596 100644 --- a/langchain/tools/__init__.py +++ b/langchain/tools/__init__.py @@ -1,6 +1,6 @@ """Core toolkit implementations.""" -from langchain.tools.base import BaseTool +from langchain.tools.base import BaseTool, StructuredTool from langchain.tools.bing_search.tool import BingSearchResults, BingSearchRun from langchain.tools.ddg_search.tool import DuckDuckGoSearchResults, DuckDuckGoSearchRun from langchain.tools.file_management.copy import CopyFileTool @@ -66,6 +66,7 @@ __all__ = [ "OpenAPISpec", "ReadFileTool", "ShellTool", + "StructuredTool", "WriteFileTool", "BaseTool", "SceneXplainTool",