Spaces:
Sleeping
Sleeping
Download tools/web_search.py from zeerafle/Final_Assignment_Template: direct link, hf CLI and curl.
- Browser
- Download file 119 Bytes
-
https://huggingface.co/spaces/zeerafle/Final_Assignment_Template/resolve/main/tools/web_search.py
- Command line
-
hf download hf://spaces/zeerafle/Final_Assignment_Template/tools/web_search.py
-
curl -L -o web_search.py https://huggingface.co/spaces/zeerafle/Final_Assignment_Template/resolve/main/tools/web_search.py
119 Bytes
| from langchain_tavily import TavilySearch | |
| tavily_search_tool = TavilySearch( | |
| max_results=5, | |
| topic="general" | |
| ) | |