SimpleSam commited on
Commit
cad38d5
·
verified ·
1 Parent(s): 767b408

Update manyata_tools/manyata_search.py

Browse files
Files changed (1) hide show
  1. manyata_tools/manyata_search.py +3 -3
manyata_tools/manyata_search.py CHANGED
@@ -4,14 +4,14 @@ from smolagents.tools import Tool
4
  class ManyataSearchTool(Tool):
5
  name = "manyata_search"
6
  description = "Provides the search results from manyata database."
7
- inputs = {'answer': {'type': 'any', 'description': 'The results'}}
8
  output_type = "any"
9
 
10
- def forward(self, answer: Any) -> Any:
11
  return answer
12
 
13
  def __init__(self, *args, **kwargs):
14
  self.is_initialized = False
15
 
16
- def searchDb(self, answer: Any) -> Any:
17
  return answer
 
4
  class ManyataSearchTool(Tool):
5
  name = "manyata_search"
6
  description = "Provides the search results from manyata database."
7
+ inputs = {'query': {'type': 'any', 'description': 'The information to query'}}
8
  output_type = "any"
9
 
10
+ def forward(self, query: Any) -> Any:
11
  return answer
12
 
13
  def __init__(self, *args, **kwargs):
14
  self.is_initialized = False
15
 
16
+ def searchDb(self, query: Any) -> Any:
17
  return answer