aynot commited on
Commit
b3ef5bc
·
1 Parent(s): 27ce6f7

added wikipedia tool, switched back to duckduckgo

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