added wikipedia tool, switched back to duckduckgo
Browse files
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 |
-
|
| 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 |
|