jfeng1115's picture
init commit
58d33f0
raw
history blame contribute delete
364 Bytes
"""Toolkits for agents."""
from abc import abstractmethod
from typing import List
from pydantic import BaseModel
from langchain.tools import BaseTool
class BaseToolkit(BaseModel):
"""Class responsible for defining a collection of related tools."""
@abstractmethod
def get_tools(self) -> List[BaseTool]:
"""Get the tools in the toolkit."""