ratnakar09 commited on
Commit
0e607a1
·
verified ·
1 Parent(s): 5dcb2d0

introducing wikipedia search

Browse files
Files changed (1) hide show
  1. tools.py +1 -1
tools.py CHANGED
@@ -2,7 +2,7 @@ from smolagents import DuckDuckGoSearchTool
2
  from smolagents import Tool
3
  import random
4
  from huggingface_hub import list_models
5
-
6
 
7
  # Initialize the DuckDuckGo search tool
8
  #search_tool = DuckDuckGoSearchTool()
 
2
  from smolagents import Tool
3
  import random
4
  from huggingface_hub import list_models
5
+ from langchain_community.document_loaders import WikipediaLoader
6
 
7
  # Initialize the DuckDuckGo search tool
8
  #search_tool = DuckDuckGoSearchTool()