Export StructuredTool at /tools (#3858)

This commit is contained in:
Zander Chase 2023-04-30 19:22:21 -07:00 committed by GitHub
parent e87f81b3ec
commit f7cb2af5f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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",