trongld commited on
Commit
a9450e8
·
1 Parent(s): c3c0da2

Remove ExtractTextTool from imports and tool definitions in get_tools function

Browse files
Files changed (1) hide show
  1. tools.py +1 -6
tools.py CHANGED
@@ -1,5 +1,5 @@
1
  import os
2
- from langchain_community.tools import Tool, BraveSearch, YouTubeSearchTool, ExtractTextTool
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,