Skip to content
Last updated

🔨 In Development — This section is still being developed and may change.
Freddy provides a comprehensive set of built-in system tools that enable your AI assistants to perform various tasks without requiring custom function definitions. These tools are automatically available to all assistants and can be used to enhance their capabilities.

Available Tools

🔍 Search and Retrieval

  • File Search - Search through uploaded files and documents
  • Web Search - Search the internet for current information

💻 Computing and Execution

📁 File Operations

🎨 Creative Tools

Getting Started

1. Enable Tools in Your Assistant

When creating or updating an assistant, you can enable specific tools:

assistant = freddy.assistants.create(
    name="My Assistant",
    instructions="You are a helpful assistant with access to various tools.",
    model="gpt-4",
    tools=[
        {"type": "file_search"},
        {"type": "web_search"},
        {"type": "code_interpreter"}
    ]
)

2. Use Tools in Conversations

Once enabled, your assistant can automatically use these tools when needed:

# The assistant will automatically use tools based on the conversation
message = freddy.threads.messages.create(
    thread_id=thread.id,
    role="user",
    content="Analyze this data and create a visualization: [data...]"
)

# Run the assistant
run = freddy.threads.runs.create(thread_id=thread.id, assistant_id=assistant.id)

Tool Capabilities

  • Search through uploaded documents, PDFs, and text files
  • Extract relevant information and quotes
  • Support for multiple file formats
  • Real-time web search capabilities
  • Access to current news and information
  • Summarization of search results

Code Interpreter

  • Execute Python code safely
  • Generate charts and visualizations
  • Perform data analysis and calculations

Computer Use (Preview)

  • Browse websites and extract information
  • Take screenshots of web pages
  • Interact with web applications

Best Practices

  1. Choose Relevant Tools: Only enable tools that are relevant to your assistant's purpose
  2. Clear Instructions: Provide clear instructions on when and how to use each tool
  3. Error Handling: Design your assistant to handle tool failures gracefully
  4. Privacy Considerations: Be aware of data privacy when using tools that access external resources

Tool Limitations

  • Tools have usage limits and costs
  • Some tools are in preview and may have limitations
  • Always test your assistant thoroughly with enabled tools
  • Monitor tool usage to understand costs and performance

Examples

Check out these examples to see how to use system tools effectively:

Need Help?

For technical support, contact support@aitronos.com.