Class HostedToolsExample

java.lang.Object
ai.acolite.agentsdk.examples.HostedToolsExample

public class HostedToolsExample extends Object
Example demonstrating how to use OpenAI hosted tools.

Hosted tools execute on OpenAI's infrastructure rather than in your application. This SDK currently supports:

  • web_search - Search the web for current information
  • image_generation - Generate images using DALL-E

Note: Other hosted tools like file_search, code_interpreter, and computer_use are not yet supported.

  • Constructor Details

    • HostedToolsExample

      public HostedToolsExample()
  • Method Details

    • main

      public static void main(String[] args)