docs: standardizing tavily tool docs (#24736)

Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
Co-authored-by: Bagatur <baskaryan@gmail.com>
This commit is contained in:
Isaac Francisco
2024-08-02 15:25:27 -07:00
committed by GitHub
parent 2ae76cecde
commit 73570873ab
5 changed files with 285 additions and 265 deletions

View File

@@ -295,6 +295,10 @@ if TYPE_CHECKING:
from langchain_community.tools.steamship_image_generation import (
SteamshipImageGenerationTool,
)
from langchain_community.tools.tavily_search import (
TavilyAnswer,
TavilySearchResults,
)
from langchain_community.tools.vectorstore.tool import (
VectorStoreQATool,
VectorStoreQAWithSourcesTool,
@@ -450,6 +454,8 @@ __all__ = [
"SteamWebAPIQueryRun",
"SteamshipImageGenerationTool",
"StructuredTool",
"TavilyAnswer",
"TavilySearchResults",
"Tool",
"VectorStoreQATool",
"VectorStoreQAWithSourcesTool",
@@ -599,6 +605,8 @@ _module_lookup = {
"SteamWebAPIQueryRun": "langchain_community.tools.steam.tool",
"SteamshipImageGenerationTool": "langchain_community.tools.steamship_image_generation", # noqa: E501
"StructuredTool": "langchain_core.tools",
"TavilyAnswer": "langchain_community.tools.tavily_search",
"TavilySearchResults": "langchain_community.tools.tavily_search",
"Tool": "langchain_core.tools",
"VectorStoreQATool": "langchain_community.tools.vectorstore.tool",
"VectorStoreQAWithSourcesTool": "langchain_community.tools.vectorstore.tool",