Interface OpenAiTool.Builder1<InputT>

Type Parameters:
InputT - the type of the input class.
Enclosing class:
OpenAiTool

public static interface OpenAiTool.Builder1<InputT>
Creates a new OpenAiTool instance with the specified function and input class.
  • Method Details

    • withArgument

      @Nonnull OpenAiTool.Builder2 withArgument(@Nonnull Class<InputT> inputClass)
      Sets the name of the function.
      Parameters:
      inputClass - the class of the input object.
      Returns:
      a new OpenAiTool instance with the specified function and input class.