File size: 135 Bytes
d23baa8
 
 
 
 
 
1
2
3
4
5
6
from smolagents import DuckDuckGoSearchTool

web_search = DuckDuckGoSearchTool()

result = web_search(query="News Today")
print(result)