Download src/agents_rag/tools.py from TorchLLM/GeminiRAG: direct link, hf CLI and curl.
- Browser
- Download file 263 Bytes
-
https://huggingface.co/spaces/TorchLLM/GeminiRAG/resolve/main/src/agents_rag/tools.py
- Command line
-
hf download hf://spaces/TorchLLM/GeminiRAG/src/agents_rag/tools.py
-
curl -L -o tools.py https://huggingface.co/spaces/TorchLLM/GeminiRAG/resolve/main/src/agents_rag/tools.py
263 Bytes
| ## https://serper.dev/ | |
| from dotenv import load_dotenv | |
| load_dotenv() | |
| import os | |
| os.environ["SERPER_API_KEY"] = os.getenv("SERPER_API_KEY") | |
| from crewai_tools import SerperDevTool | |
| # Initialize the tool for internet searching capabilities | |
| tool = SerperDevTool() | |