Interface OpenAiTool.Builder2

Enclosing class:
OpenAiTool

public static interface OpenAiTool.Builder2
Creates a new OpenAiTool instance with the specified name.
  • Method Summary

    Modifier and Type
    Method
    Description
    Sets the name of the function.
  • Method Details

    • withName

      @Nonnull OpenAiTool withName(@Nonnull String name)
      Sets the name of the function.
      Parameters:
      name - the name of the function
      Returns:
      a new OpenAiTool instance with the specified name