Interface CustomTarget.Builder

  • Method Details

    • version

      CustomTarget.Builder version(String version)

      A label for the version that was tried, for example "sonnet-5.5 + prompt-v3".

      Parameters:
      version - A label for the version that was tried, for example "sonnet-5.5 + prompt-v3".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpoint

      CustomTarget.Builder endpoint(String endpoint)

      A free-form description of where or how the custom target was invoked, for example a URL or a prompt name.

      Parameters:
      endpoint - A free-form description of where or how the custom target was invoked, for example a URL or a prompt name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.