File size: 839 Bytes
a225ae4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
from typing import List

from smolagents import (
    DuckDuckGoSearchTool,
    PythonInterpreterTool,
    Tool,
    VisitWebpageTool,
    WikipediaSearchTool,
)

from .describe_image_tool import DescribeImageTool
from .openai_speech_to_text_tool import OpenAISpeechToTextTool
from .read_file_tool import ReadFileTool
from .youtube_transcription_tool import YouTubeTranscriptionTool


def get_tools() -> List[Tool]:
    """
    Returns a list of available tools for the agent.

    Returns:
        List[Tool]: List of initialized tool instances.
    """
    tools = [
        DuckDuckGoSearchTool(),
        PythonInterpreterTool(),
        WikipediaSearchTool(),
        VisitWebpageTool(),
        OpenAISpeechToTextTool(),
        YouTubeTranscriptionTool(),
        ReadFileTool(),
        DescribeImageTool(),
    ]
    return tools