Sborole commited on
Commit
36254dd
·
verified ·
1 Parent(s): f386776

Update tools/WikipediaTool.py

Browse files
Files changed (1) hide show
  1. tools/WikipediaTool.py +1 -1
tools/WikipediaTool.py CHANGED
@@ -2,7 +2,7 @@ from smolagents import Tool
2
  import wikipedia
3
  class LocalWikipediaTool(Tool):
4
  name = "wikipedia_search"
5
- description = "Fallback tool: Use Wikipedia after the web search tool."
6
  inputs = {
7
  "query": {"type": "string", "description": "Search term"}
8
  }
 
2
  import wikipedia
3
  class LocalWikipediaTool(Tool):
4
  name = "wikipedia_search"
5
+ description = "Use websearch tool first to get the facts, and if needed use this Fallback tool: Use Wikipedia after the web search tool."
6
  inputs = {
7
  "query": {"type": "string", "description": "Search term"}
8
  }