aynot commited on
Commit
73cb1ca
·
1 Parent(s): ce7ff76

added google search

Browse files
Files changed (1) hide show
  1. tools.py +3 -2
tools.py CHANGED
@@ -1,10 +1,11 @@
1
- from smolagents import DuckDuckGoSearchTool, VisitWebpageTool
2
 
3
 
4
 
5
  def initialize_all_available_tools():
6
  return [
7
- DuckDuckGoSearchTool(),
 
8
  VisitWebpageTool()
9
  ]
10
 
 
1
+ from smolagents import DuckDuckGoSearchTool, VisitWebpageTool, GoogleSearchTool
2
 
3
 
4
 
5
  def initialize_all_available_tools():
6
  return [
7
+ # DuckDuckGoSearchTool(),
8
+ GoogleSearchTool(provider="serper"),
9
  VisitWebpageTool()
10
  ]
11