12 lines
223 B
Python
12 lines
223 B
Python
|
|
# tools/base_tool.py
|
||
|
|
from abc import ABC, abstractmethod
|
||
|
|
|
||
|
|
class BaseTool(ABC):
|
||
|
|
@abstractmethod
|
||
|
|
def get_functions(self):
|
||
|
|
pass
|
||
|
|
|
||
|
|
@abstractmethod
|
||
|
|
def execute(self, function_name, **kwargs):
|
||
|
|
pass
|