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: | |
def get_default_tools(): | |
return [ | |
FetchURLContentTool(), | |
ConvertAudioToTextTool(), | |
# ConvertImageToTextTool(), | |
FileReaderTool(), | |
DuckDuckGoSearchTool(), | |
WikipediaSearchTool(), | |
PythonInterpreterTool() | |
] | |