FD900 commited on
Commit
f04d051
·
verified ·
1 Parent(s): e5177e6

Create base.py

Browse files
Files changed (1) hide show
  1. tools/base.py +11 -0
tools/base.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class Tool:
2
+ name = ""
3
+ description = ""
4
+ inputs = {}
5
+ output_type = "string"
6
+
7
+ def __init__(self, **kwargs):
8
+ pass
9
+
10
+ def forward(self, **kwargs):
11
+ raise NotImplementedError("Tool must implement forward method.")