tommaso1288's picture
added some info in system prompt and added file_reader_tool
ad8f765
raw
history blame contribute delete
682 Bytes
from smolagents import DuckDuckGoSearchTool, WikipediaSearchTool, PythonInterpreterTool
from tools.convert_audio_to_text_tool import ConvertAudioToTextTool
from tools.convert_image_to_text_tool import ConvertImageToTextTool
from tools.fetch_url_content_tool import FetchURLContentTool
from tools.file_reader_tool import FileReaderTool
class ToolsUtils:
@staticmethod
def get_default_tools():
return [
FetchURLContentTool(),
ConvertAudioToTextTool(),
# ConvertImageToTextTool(),
FileReaderTool(),
DuckDuckGoSearchTool(),
WikipediaSearchTool(),
PythonInterpreterTool()
]