Nav772 commited on
Commit
656f9aa
·
verified ·
1 Parent(s): 6b1678e

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +6 -0
tools.py CHANGED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ from langchain_community.tools import DuckDuckGoSearchRun
2
+
3
+ search_tool = DuckDuckGoSearchRun()
4
+ results = search_tool.invoke("Who's the current President of France?")
5
+ print(results)
6
+