Spaces:
Sleeping
Sleeping
cyberosa
commited on
Commit
·
d109a2d
1
Parent(s):
98e00e9
valid tool name
Browse files
tools.py
CHANGED
@@ -5,7 +5,7 @@ from typing import List, Dict, Any, Optional
|
|
5 |
|
6 |
|
7 |
class MySearchTool(WebSearchTool):
|
8 |
-
name = "
|
9 |
description = "It receives a question and returns a list of search results from various sources. It uses DuckDuckGo as the primary source"
|
10 |
inputs = {
|
11 |
"query": {
|
|
|
5 |
|
6 |
|
7 |
class MySearchTool(WebSearchTool):
|
8 |
+
name = "my_search_tool"
|
9 |
description = "It receives a question and returns a list of search results from various sources. It uses DuckDuckGo as the primary source"
|
10 |
inputs = {
|
11 |
"query": {
|