File size: 682 Bytes
6220346
 
 
 
 
ad8f765
6220346
 
 
 
 
 
 
 
 
 
ad8f765
6220346
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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()
        ]