Spaces:
Sleeping
Sleeping
Update tools/WebSearchTool.py
Browse files- tools/WebSearchTool.py +2 -3
tools/WebSearchTool.py
CHANGED
|
@@ -4,9 +4,8 @@ from googleapiclient.discovery import build
|
|
| 4 |
|
| 5 |
class GoogleSearchTool(Tool):
|
| 6 |
"""
|
| 7 |
-
A tool to perform Google searches using the Custom Search Engine (CSE) API.
|
| 8 |
-
|
| 9 |
-
Requires GOOGLE_API_KEY and GOOGLE_CSE_ID environment variables to be set.
|
| 10 |
"""
|
| 11 |
# Use a descriptive name to guide the agent
|
| 12 |
name = "google_search"
|
|
|
|
| 4 |
|
| 5 |
class GoogleSearchTool(Tool):
|
| 6 |
"""
|
| 7 |
+
A tool to perform web search Google searches using the Custom Search Engine (CSE) API.
|
| 8 |
+
Use this tool first to get the necessary information for calculation or further tools.
|
|
|
|
| 9 |
"""
|
| 10 |
# Use a descriptive name to guide the agent
|
| 11 |
name = "google_search"
|