Spaces:
Sleeping
Sleeping
Remove ExtractTextTool from imports and tool definitions in get_tools function
Browse files
tools.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
import os
|
| 2 |
-
from langchain_community.tools import Tool, BraveSearch, YouTubeSearchTool
|
| 3 |
from langchain_community.tools import DuckDuckGoSearchResults, GoogleSearchResults
|
| 4 |
from langchain_community.tools import WikipediaQueryRun
|
| 5 |
from langchain_community.tools import WolframAlphaQueryRun
|
|
@@ -409,11 +409,6 @@ def get_tools():
|
|
| 409 |
func=YouTubeSearchTool().run,
|
| 410 |
description="Search YouTube for videos."
|
| 411 |
),
|
| 412 |
-
Tool(
|
| 413 |
-
name="ExtractText",
|
| 414 |
-
func=ExtractTextTool().run,
|
| 415 |
-
description="Extract text from a given URL."
|
| 416 |
-
),
|
| 417 |
Tool(
|
| 418 |
name="DuckDuckGoSearch",
|
| 419 |
func=DuckDuckGoSearchResults().run,
|
|
|
|
| 1 |
import os
|
| 2 |
+
from langchain_community.tools import Tool, BraveSearch, YouTubeSearchTool
|
| 3 |
from langchain_community.tools import DuckDuckGoSearchResults, GoogleSearchResults
|
| 4 |
from langchain_community.tools import WikipediaQueryRun
|
| 5 |
from langchain_community.tools import WolframAlphaQueryRun
|
|
|
|
| 409 |
func=YouTubeSearchTool().run,
|
| 410 |
description="Search YouTube for videos."
|
| 411 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 412 |
Tool(
|
| 413 |
name="DuckDuckGoSearch",
|
| 414 |
func=DuckDuckGoSearchResults().run,
|